ofxCv icon indicating copy to clipboard operation
ofxCv copied to clipboard

not working on Raspberry Pi OF10.1

Open siteswapjuggler opened this issue 3 years ago • 2 comments

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

siteswapjuggler avatar Apr 27 '21 17:04 siteswapjuggler

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 :)

siteswapjuggler avatar Apr 27 '21 18:04 siteswapjuggler

You made my day! Thank you so much for sharing your solution!

Duffsman avatar May 03 '21 16:05 Duffsman