Skip to content

I have customized the code of Adrian to find 4 points of document or rectangle dynamically. Here i have added findLargestCountours and convert_object, where convert_object is our driver method which actually doing image processing and getting all 4 point rectangles from image. After getting all 4 point rectangle list findLargestCountours method …

Notifications You must be signed in to change notification settings

KMKnation/Four-Point-Invoice-Transform-with-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Four-Point-Invoice-Transform-with-OpenCV

This code is inspired from [4 Point OpenCV getPerspective Transform Example]

I have customized the code of Adrian to find 4 points of document or rectangle dynamically. Here i have added findLargestCountours and convert_object, where convert_object is our driver method which actually doing image processing and getting all 4 point rectangles from image. After getting all 4 point rectangle list findLargestCountours method finding largest countour in list.

Here are some examples.

Original Image Edge Detection Warped Image
Original Screen Warped
Original Screen Warped

About

I have customized the code of Adrian to find 4 points of document or rectangle dynamically. Here i have added findLargestCountours and convert_object, where convert_object is our driver method which actually doing image processing and getting all 4 point rectangles from image. After getting all 4 point rectangle list findLargestCountours method …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages