First time here? Check out the FAQ!
answered 2013-08-06 14:29:39 -0600
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.