Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
datomnurdin opened this issue Feb 7, 2016 · 1 comment

Comments

@datomnurdin
Copy link

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

@pageauc
Copy link

pageauc commented Feb 7, 2016

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants