You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this issue while running this in pycharm, what could be the reason ?
C:\Users\hp\AppData\Local\Microsoft\WindowsApps\python3.10.exe E:/opencv_projects/AI-Virtual-Painter/VirtualPainter.py
Traceback (most recent call last):
File "E:\opencv_projects\AI-Virtual-Painter\VirtualPainter.py", line 28, in <module>
detector = htm.handDetector(detectionCon=0.85)
File "E:\opencv_projects\AI-Virtual-Painter\HandTrackingModule.py", line 15, in __init__
self.hands = self.mpHands.Hands(self.mode, self.maxHands,
File "C:\Users\hp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\mediapipe\python\solutions\hands.py", line 114, in __init__
super().__init__(
File "C:\Users\hp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\mediapipe\python\solution_base.py", line 289, in __init__
self._input_side_packets = {
File "C:\Users\hp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\mediapipe\python\solution_base.py", line 290, in <dictcomp>
name: self._make_packet(self._side_input_type_info[name], data)
File "C:\Users\hp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\mediapipe\python\solution_base.py", line 592, 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.85
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
I got this issue while running this in pycharm, what could be the reason ?
The text was updated successfully, but these errors were encountered: