mediapipe icon indicating copy to clipboard operation
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

Open Fredjpl opened this issue 8 months ago • 2 comments

I was running the sample code and got this issue: Image

I didn't change anything. Exactly the same code.

Fredjpl avatar Mar 17 '25 21:03 Fredjpl

  • 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

toborobot avatar Apr 05 '25 14:04 toborobot

adding one cell after mediapipe installation solved it for me:

!pip install numpy==1.26.3

hagar-dolev avatar Oct 09 '25 08:10 hagar-dolev