mediapipe
mediapipe copied to clipboard
mediapipe 0.10.11 is wrongly depending on protobuf 3.x, it should be version > 4.x, even 5.x works
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
No
OS Platform and Distribution
macOS Silicon
Programming Language and version
Python
MediaPipe version
0.10.11
Solution
FaceMesh
Describe the actual behavior
mediapipe 0.10.11 does not work on macOS, at least not on Silicon ones
Describe the expected behaviour
It should work like it does on Linux
Standalone code/steps you may have used to try to get what you need
I did:
pip install protobuf -U
...
Successfully installed protobuf-5.26.1
and now it works with mediapipe 0.10.11 on my Mac M1.
However, poetry add protobuf does not work because mediapipe is still hooked to protobuf 3.x:
mediapipe 0.10.11 requires protobuf<4,>=3.11, but you have protobuf 5.26.1 which is incompatible.