Houghlines in android with opencv
问题 I am trying to make a perspective correction for quadrilateral objects using opencv3 . I managed to show the lines and also implemented the Houghlines using Imgproc.HoughLinesP() and tried to highlight the lines using Imgproc.lines() but output was no success. Below is my code and also I have attached my output image. Please let me know what is wrong happening and what should be done... Mat initImg; // initial image Mat greyImg; // converted to grey Mat lines = new Mat(); int threshold = 50;