Gesture Volume Control is a program application that is used to change the volume of a computer using gesture. We first look into hand tracking and then we will use the hand landmarks to find gesture of our hand to change the volume. This project is module based which means we will be using a previously created hand module which makes the hand tracking very easy.
[ WARN:0] global C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-1i5nllza\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Traceback (most recent call last):
File "c:\Users\ACER\Desktop\JARVIS\Gesture-Volume-Control\src code\HandTracking\HandTrackingModule.py", line 81, in
main()
File "c:\Users\ACER\Desktop\JARVIS\Gesture-Volume-Control\src code\HandTracking\HandTrackingModule.py", line 62, in main
detector = handDetector()
File "c:\Users\ACER\Desktop\JARVIS\Gesture-Volume-Control\src code\HandTracking\HandTrackingModule.py", line 16, in init
self.hands = self.mpHands.Hands(self.mode, self.maxHands,
File "C:\Python39\lib\site-packages\mediapipe\python\solutions\hands.py", line 114, in init
super().init(
File "C:\Python39\lib\site-packages\mediapipe\python\solution_base.py", line 258, in init
self._input_side_packets = {
File "C:\Python39\lib\site-packages\mediapipe\python\solution_base.py", line 259, in
name: self._make_packet(self._side_input_type_info[name], data)
File "C:\Python39\lib\site-packages\mediapipe\python\solution_base.py", line 513, in _make_packet
return getattr(packetcreator, 'create' + packet_data_type.value)(data)
TypeError: create_int(): incompatible function arguments. The following argument types are supported:
[ WARN:0] global C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-1i5nllza\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback Traceback (most recent call last): File "c:\Users\ACER\Desktop\JARVIS\Gesture-Volume-Control\src code\HandTracking\HandTrackingModule.py", line 81, in
main()
File "c:\Users\ACER\Desktop\JARVIS\Gesture-Volume-Control\src code\HandTracking\HandTrackingModule.py", line 62, in main
detector = handDetector()
File "c:\Users\ACER\Desktop\JARVIS\Gesture-Volume-Control\src code\HandTracking\HandTrackingModule.py", line 16, in init
self.hands = self.mpHands.Hands(self.mode, self.maxHands,
File "C:\Python39\lib\site-packages\mediapipe\python\solutions\hands.py", line 114, in init
super().init(
File "C:\Python39\lib\site-packages\mediapipe\python\solution_base.py", line 258, in init
self._input_side_packets = {
File "C:\Python39\lib\site-packages\mediapipe\python\solution_base.py", line 259, in
name: self._make_packet(self._side_input_type_info[name], data)
File "C:\Python39\lib\site-packages\mediapipe\python\solution_base.py", line 513, in _make_packet
return getattr(packetcreator, 'create' + packet_data_type.value)(data)
TypeError: create_int(): incompatible function arguments. The following argument types are supported:
Invoked with: 0.5