How to find rectangle edges from image and crop image from it's edges? [closed]
Hello,
I am developing an application for detect driving license and capture image of driving license using surface view and and crop from those it's four corner using openCV.
so right now i am using canny edge detection and find the edges but i am not able to crop the image because canny edge detection return black and white image i am crop my original license image from it's edges.
Please suggest me any best solution.
You can be using the addWeigh method to draw result image RGB Image.