Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Automatic perspective control

Brief

A simple Python tool to automatically eliminate vanishing points on images. The following assumptions are made:

  • the image is a photo of a building;
  • there are two evident vanishing points: vertical and horizontal (they may not fit into the borders of the image);
  • the vertical vanishing point is located above the building;
  • the image contains at least 100,000 pixels.

Example

Before After
Before correction After correction

Run the tool

On Windows

python .\fixbuilding.py

On Linux/MacOS

python ./fixbuilding.py

About

Automatic correction of perspective in images

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /