Skip to content

imneonizer/Perspective-Transformation-of-Images-with-Opencv-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perspective Transformation

Hey there! Today i am up with new code which could help in perspective transformation of an image, through these lines of code on can easily manipulate images clicked in rotated manner, for instance you clicked the image of a receipt and for the image processing purpose you want it to be in perfect square and upright perspective in those case it can help you out.

Modules required

>> pip install opencv-contrib-python
>> pip install numpy

Simply run "Perspective_Transformation.py" and it will correct the perspective of input image Further it will also help to crop out the corrected perspective image.

Illustrations

Input Image

input image

Output Image

output image

About

This code can be used in projects where images of documents need to be transformed in proper perspective

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages