As the title states, I'm on Stretch (on a Pi zero W btw). I need to do some fairly simple image processing, and was happy to find out it has a default install of opencv2.4.9, as that should be enough.
I just can't seem to get any code to find it. I'm working in C++, and get the error "Package opencv was not found in the pkg-config search path". Which is fair enough because although pkg-config was already installed, when I checked I found it's search path was blank. Trying to find where opencv was installed turned out to be totally fruitless.
I then decided to test in python, because it seems like the Pi comes setup for python specifically, and >>import cv2 fails as well!
Using >>sudo apt-get remove libopencv* I get the option to remove the opencv packages. So it sure seems like they are on here, but I can't figure out how to find/use them. And the only things I can find online, or this forum, talk about installing opencv from scratch. Haven't seen any that explained how to find the native install.
Am I missing something obvious? Is there a secret trick to using the installed opencv package? Should I just remove it and reinstall it "properly"?
Thanks for any help!