How do I know which header file I should use for my OpenCV C++ program?
Dear OpenCV community,
This might be a noob question. I have been an OpenCV Python user previously. Now I am switching to C++. I wonder how should I determine which header files I should use for my program. For example, I want to use the function "imread", which header files I should include in my program? I tried to look up on https://docs.opencv.org/master/ but found no clue. Thank you.
Best regards,
Lei
there is a (working !) search box on the docs page (top right). try it !
(it will show you the module, your function is in)
Sorry, I tried but I think I did not get what you mentioned. Say I put "imread" in the search box, then click on "imread" in the drop-down list. I don't see any word "imgcodecs" there.
group__imgcodecs (in the url) should give it away, already, no ?
Orz. It could have been more standing out to the users. Thank you anyway.
ofc. you're right ;)