motion_tracking icon indicating copy to clipboard operation
motion_tracking copied to clipboard

ImportError: dlopen(/motion_tracking/cv.so, 2): no suitable image found.

Open datomnurdin opened this issue 8 years ago • 1 comments

I got this error message when trying trigger this script, track.py

Traceback (most recent call last):
  File "track.py", line 5, in <module>
    import cv
ImportError: dlopen(/motion_tracking/cv.so, 2): no suitable image found.  Did find:
    /motion_tracking/cv.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00

Please advice. Thank you

datomnurdin avatar Feb 07 '16 07:02 datomnurdin

I don't have an example called track.py in my repo so not sure what code you are running. The import says import cv. Not seeing what code you are running it should be import cv2. make sure you have installed the correct opencv library. Also there are syntactic differences between python2 and python3. That is why I have a motion3-track.py showing the python3 syntax. Also take a look at the latest speed-tracking.py in the repo since it now uses video port and has a much faster framerate processing. If I get time I will update the motion-track.py examples to used video port logic. Claude ... If you still have problems send link or attach your code ...

pageauc avatar Feb 07 '16 13:02 pageauc