質問

Hi i want to know what does the findHomography method do and the result it generates. Can anyone give me good explanation of this method.

H = findHomography( obj, scene, CV_RANSAC );
perspectiveTransform( obj_corners, scene_corners, H);
役に立ちましたか?

解決

findHomography() returns matrix of homography.

The perspectiveTransform() on the basis of this matrix gives you corners of the object inside the scene.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top