FardeenMohammed / AI_Virtual_Painter_2.0

AI Virtual Painter with geometric shapes | drawing in air | computer vision| opencv | AI TechStack AI Virtual Painter, an amazing project in python using opencv. This project has the following new features : 1 : Variable Eraser thickness 2 : Drawing circle 3 : Drawing rectangle 4 : Drawing ellipse 5 : Free Hand Writing 6 : Two fingers up, clears the complete screen 7 : Showing brush thickness on screen
20 stars 14 forks source link

error occuring #2

Open ayushibisen01 opened 2 years ago

ayushibisen01 commented 2 years ago

E:\painter\Scripts\python.exe E:/painter/Lib/site-packages/HandTrackingModule/init.py Traceback (most recent call last): File "E:\painter\Lib\site-packages\HandTrackingModule__init.py", line 116, in main() File "E:\painter\Lib\site-packages\HandTrackingModule__init.py", line 96, in main detector = handDetector() File "E:\painter\Lib\site-packages\HandTrackingModule\init.py", line 16, in init self.hands = self.mpHands.Hands(self.mode, self.maxHands, File "E:\painter\lib\site-packages\mediapipe\python\solutions\hands.py", line 114, in init super().init__( File "E:\painter\lib\site-packages\mediapipe\python\solution_base.py", line 290, in init__ self._input_side_packets = { File "E:\painter\lib\site-packages\mediapipe\python\solution_base.py", line 291, in name: self._make_packet(self._side_input_type_info[name], data) File "E:\painter\lib\site-packages\mediapipe\python\solution_base.py", line 593, 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

Process finished with exit code 1

FardeenMohammed commented 2 years ago

Something is wrong with versions you are using

On Fri, 9 Sep 2022, 5:14 pm ayushibisen01, @.***> wrote:

E:\painter\Scripts\python.exe E:/painter/Lib/site-packages/HandTrackingModule/init.py Traceback (most recent call last): File "E:\painter\Lib\site-packages\HandTrackingModuleinit.py", line 116, in main() File "E:\painter\Lib\site-packages\HandTrackingModuleinit.py", line 96, in main detector = handDetector() File "E:\painter\Lib\site-packages\HandTrackingModuleinit.py", line 16, in init self.hands = self.mpHands.Hands(self.mode, self.maxHands, File "E:\painter\lib\site-packages\mediapipe\python\solutions\hands.py", line 114, in init super().init( File "E:\painter\lib\site-packages\mediapipe\python\solution_base.py", line 290, in init self._input_side_packets = { File "E:\painter\lib\site-packages\mediapipe\python\solution_base.py", line 291, in name: self._make_packet(self._side_input_type_info[name], data) File "E:\painter\lib\site-packages\mediapipe\python\solution_base.py", line 593, 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

Process finished with exit code 1

— Reply to this email directly, view it on GitHub https://github.com/FardeenMohammed/AI_Virtual_Painter_2.0/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARMOHUBMRYKRKLRBDT6MYGTV5MPKJANCNFSM6AAAAAAQITJWFE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ayushibisen01 commented 1 year ago

Which version to use??