Skip to content

SZanlongo/vanishing-point-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vanishing-point-detection

Estimate the Vanishing Point of an image.

Requirements

  • Python 3
  • Numpy
  • OpenCV

Usage

Next to the src directory, have a pictures directory, with nested dirs input and output.

For visualizations of the intermediate steps, try checking out the draw-intermediate-steps branch, which for an input image, will also output:

  • Canny edge output
  • Hough transform
  • Grid segmentation of image and estimated vanishing point cell

Example

Running it a corridor image from here, the output steps are:

Canny Edge Output

Canny Edge Output

Hough Transform

Hough Transform

Grid Segmentation and Estimated Vanishing Point

Grid Segmentation and Estimated Vanishing Point

Final

Final Output

About

Find the vanishing point of an image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages