Closed zypherift closed 3 years ago
Hi @Rego0116, Can you try installing the latest pip install mediapipe==0.8.7
.
Still doesn't work, gives me the same problem sadly.
Traceback (most recent call last):
File "C:\Users\Reiner Regő\PycharmProjects\HandTrackingProject\HandTrackingMin.py", line 8, in <module>
hands = mpHands.Hands()
File "C:\Users\Reiner Regő\PycharmProjects\HandTrackingProject\venv\lib\site-packages\mediapipe\python\solutions\hands.py", line 109, in __init__
super().__init__(
File "C:\Users\Reiner Regő\PycharmProjects\HandTrackingProject\venv\lib\site-packages\mediapipe\python\solution_base.py", line 237, in __init__
validated_graph.initialize(
FileNotFoundError: The path does not exist.
It seems like the line validated_graph.initialize( binary_graph_path=os.path.join(root_path, binary_graph_path))
is causing problems, by the path doesn't exist
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.
Please make sure that this is a bug and also refer to the troubleshooting, FAQ documentation before raising any issues.
System information (Please provide as much relevant information as possible)
Describe the current behavior: When i launch it with pycharm, it gives me this error:
Traceback (most recent call last): File "C:\Users\Reiner Regő\PycharmProjects\HandTrackingProject\HandTrackingMin.py", line 8, in <module> hands = mpHands.Hands() File "C:\Users\Reiner Regő\PycharmProjects\HandTrackingProject\venv\lib\site-packages\mediapipe\python\solutions\hands.py", line 109, in __init__ super().__init__( File "C:\Users\Reiner Regő\PycharmProjects\HandTrackingProject\venv\lib\site-packages\mediapipe\python\solution_base.py", line 237, in __init__ validated_graph.initialize( FileNotFoundError: The path does not exist.
Describe the expected behavior: Starts tracking my hand, and output coordinates Standalone code to reproduce the issue: Install opencv-python latest version using pip Install mediapipe latest version using pip Launch pycharm Copy the code Start the code Get the errorOther info / Complete Logs : The code that I'm using: