Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your
Mat obj_corners = new Mat(4,1,CvType.CV_32FC1);
Mat scene_corners = new Mat(4,1,CvType.CV_32FC1);

must be CvType.CV_32FC2

Its a points 2d, that's why they have 2 (x,y) coordinates.