rcaceiro / node-yolo

MIT License
18 stars 4 forks source link

link err! #7

Closed gucy1972 closed 5 years ago

gucy1972 commented 5 years ago

Installing @vapi/node-yolo@*/usr/bin/ld: cannot find -lopencv_videoio

hi, buddy, what is the problem?? help!

rcaceiro commented 5 years ago

Hi @gucy1972 you must have the OpenCV installed to compile the node-yolo

paul019 commented 4 years ago

I installed OpenCV and still get the same error. Can you give instructions on how to install OpenCV? I ran:

brew install opencv@2
sudo chown -R $(whoami):admin /usr/local
brew link --force opencv@2
paul019 commented 4 years ago

Now I managed to install OPENCV. I tried again to install node-yolo, but got the following error this time: fatal error: no viable conversion from 'cv::Mat' to 'IplImage' (aka '_IplImage')

I suspect, that it has something to do with the version of OPENCV used. What version do you recommend?

freakstatic commented 4 years ago

Hi @paul019 Try with the 3.4.3 version