mediapipe
mediapipe copied to clipboard
Got "ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject" when importing mediapipe in Hand Landmark Detection sample code
I was running the sample code and got this issue:
I didn't change anything. Exactly the same code.
- same problem, colab, tf2.18 possible solution is here https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from but not worked
adding one cell after mediapipe installation solved it for me:
!pip install numpy==1.26.3