How to find rectangle edges from image and crop image from it's edges? [closed]

asked 2018-05-12 01:33:30 -0600

Akhil Patel gravatar image

updated 2019-12-10 01:04:29 -0600

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.

edit retag flag offensive reopen merge delete

Closed for the following reason spam or advertising by mshabunin
close date 2019-04-04 07:02:00.232849

Comments

3

You can be using the addWeigh method to draw result image RGB Image.

monxarat gravatar imagemonxarat ( 2018-09-19 02:03:52 -0600 )edit