Ask Your Question

Revision history [back]

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