ofxCv
ofxCv copied to clipboard
not working on Raspberry Pi OF10.1
Hello,
I'm working on a color tracking application on RPi 3, your addon has been a great help to prototype on my mac but I cannot get it work on RPi. Seems that it miss the OpenCv header and libraries in the OF directory. I did a few research this afternoon without ending to a solution.
Do you have any clue I could go on with ?
Sincerely Sylvain
Ok then I found a solution :
first "sudo apt-get install libopencv-dev" it should tell that it's already installed with version 2.4 then in "addons/ofxCv/libs/ofxCv/include/Utilities.h" I had to change those lines :
- #include "/usr/include/opencv2/opencv.hpp"
- #include "/usr/include/opencv2/imgproc/imgproc_c.h"
- #include "/usr/include/opencv2/calib3d/calib3d.hpp"
It now compile like a charm and the program is working :)
You made my day! Thank you so much for sharing your solution!