Ask Your Question

pandamakes's profile - activity

2016-09-19 00:30:48 -0600 answered a question Android Opencv Perspective Transformation not working as expected
    //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.