Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #1

Open
siddharth-kp opened this issue Apr 11, 2023 · 0 comments
Open

Issue #1

siddharth-kp opened this issue Apr 11, 2023 · 0 comments

Comments

@siddharth-kp
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant