Drian
Drian

Reputation: 171

Find OpenCV sourcefile for RANSAC

I have trouble to find the RANSAC (findHomography() in calib3d.hpp) sourcecode file (.cpp) in the opencv folder. Does anyone know where the source code is? Is there in common and easy way to determine where the source code of a specific function in the OpenCV folder is? or do i need to look trough every file?

Upvotes: 3

Views: 2518

Answers (1)

Jack Gold
Jack Gold

Reputation: 201

Here is the source code for the function findHomography() - https://github.com/opencv/opencv/blob/master/modules/calib3d/src/fundam.cpp#L319

Q:

Is there in common and easy way to determine where the source code of a specific function in the OpenCV folder is? or do i need to look trough every file?

A:

Google is an extremely powerful tool, I tend to just Google the function I am looking for followed by "opencv github", if I can't find it by doing that I crawl through the source code.

Upvotes: 2

Related Questions