digitalbrain79 / pyyolo

Simple python wrapper for YOLO.
126 stars 65 forks source link

Undefined symbol: cvWaitKey when import pyyolo #25

Open TuanHAnhVN opened 7 years ago

TuanHAnhVN commented 7 years ago

Hi Mr. Park. When running your example.py file, i met this error "Undefined symbol: cvWaitKey" (because of pyyolo import) As i know, pyyolo source uses function incorrect. How to repair it? Thank so much!

digitalbrain79 commented 7 years ago

Install OpenCV for python. sudo apt-get install python-opencv

TuanHAnhVN commented 7 years ago

Oh no. I had installed before i posted this issue. My OpenCV version: 3.3.0. waitKey instead of cvWaitKey?

digitalbrain79 commented 7 years ago

I'm sorry. It only tested with OpenCV 2.4.

TuanHAnhVN commented 7 years ago

How do I repair it? Can you support for me? Thanks1

christian-ek commented 6 years ago

I am also stuck with this problem. How do i proceed?

TuanHAnhVN commented 6 years ago

@christian-ek I think you should change version of OpenCV or @thomaspark-pkj update code! ^^

christian-ek commented 6 years ago

Trying to do this but still get the same error..

Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'2.4.13'
>>>
python example.py
Traceback (most recent call last):
  File "example.py", line 1, in <module>
    import pyyolo
ImportError: /usr/local/lib/python2.7/dist-packages/pyyolo.so: undefined symbol: cvWaitKey
christian-ek commented 6 years ago

Any ideas?

christian-ek commented 6 years ago

I have tried with any possible opencv version =(