1 | initial version |
//applying the transformation Imgproc.warpPerspective(inputMat,outputMat,perspectiveTransformation,new Size(dst_width,dst_height));
try this?
//applying the transformation
Imgproc.warpPerspective(inputMat,outputMat,perspectiveTransformation,new Size(dst_height,dst_width));
IIRC, android camera does something strange with the orientation.