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

not working on Raspberry Pi OF10.1 #272

Open
siteswapjuggler opened this issue Apr 27, 2021 · 2 comments
Open

not working on Raspberry Pi OF10.1 #272

siteswapjuggler opened this issue Apr 27, 2021 · 2 comments

Comments

@siteswapjuggler
Copy link

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
Copy link
Author

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

@Duffsman
Copy link

Duffsman commented May 3, 2021

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

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