How to include all header files in a folder
Hello forum,
cvtColor from this tutorial http://docs.opencv.org/doc/tutorials/... does not work even after i copy-pasted the code.
I found out that I am supposed to write #include <opencv2 imgproc="" imgproc.hpp=""> for cvtColor to work. I was hoping someone could tell me how i can include ALL header files in a specific folder. Thank you.
EDIT: Also how do i know what my current working directory is. And what does /../../ mean ? I have no clue where ../../images/Gray_Image.jpg saves the image at.
"How to include all header files in a folder" - use:
#include <opencv2/opencv.hpp>
(this includes most other headers)"what does /../../ mean ?" - 2 folders up. but well, you're free here to use any location you want, it's just a sample.
If you have
../
then you have a relative path and it means that is one folder up from the current path. see this, I think you are on Windows