KhomZ / Gesture-Volume-Control

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.
GNU General Public License v3.0
0 stars 0 forks source link

is:issue is:open [ 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 #1

Open KhomZ opened 2 years ago

KhomZ commented 2 years ago

[ 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:

  1. (arg0: int) -> mediapipe.python._framework_bindings.packet.Packet

Invoked with: 0.5

KhomZ commented 2 years ago

https://stackoverflow.com/questions/69103694/typeerror-create-bool-incompatible-function-arguments-the-following-argumen

KhomZ commented 2 years ago

def init(self, mode=False, maxHands=2, detectionCon=False, trackCon=0.5):