Traceback (most recent call last):
File "AIVirtualMouse.py", line 20, in
detector = htm.handDetector(maxHands=1)
File "/home/keen/Virtual-Mouse-using-cv/HandTrackingModule.py", line 16, in init
self.hands = self.mpHands.Hands(self.mode, self.maxHands, self.detectionCon, self.trackCon)
File "/home/keen/anaconda3/lib/python3.8/site-packages/mediapipe/python/solutions/hands.py", line 114, in init
super().init(
File "/home/keen/anaconda3/lib/python3.8/site-packages/mediapipe/python/solution_base.py", line 258, in init
self._input_side_packets = {
File "/home/keen/anaconda3/lib/python3.8/site-packages/mediapipe/python/solution_base.py", line 259, in
name: self._make_packet(self._side_input_type_info[name], data)
File "/home/keen/anaconda3/lib/python3.8/site-packages/mediapipe/python/solution_base.py", line 513, in make_packet
return getattr(packet_creator, '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