Ask Your Question

What library is a function in?

asked 2016-09-01 23:19:15 -0500

Hi. I'm new to OpenCV, going through tutorials now. One thing I've not been able to find in the documentation is where to find the relation between a function/class and what library file it's in. is there a document that lists out what classes and functions are in which library file?


edit retag flag offensive close merge delete



If you don't wanna mess around with the different libraries i suggest using the following:

   #include "opencv2\opencv.hpp"

This basically covers all opencv libraries if i am not mistaken.

Ice_T02 gravatar imageIce_T02 ( 2016-09-02 05:18:53 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-02 02:56:09 -0500

Well, you can kind of know it from the docs. For example looking up findContours in the docs gives you a link that clearly states the function is inside the imgproc module, which can also be found at the top of the page.

edit flag offensive delete link more


Thanks Steven. This solved my problem.

RickBlacker gravatar imageRickBlacker ( 2016-09-02 12:11:52 -0500 )edit

Question Tools

1 follower


Asked: 2016-09-01 23:19:15 -0500

Seen: 51 times

Last updated: Sep 01 '16