Skip to content

Files

Latest commit

 

History

History

VanishingPoint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

VanishingPoint

This project aims to find the vanishing point of the images. Code is available in Python and C++.

You can find complete explaination of the logic and documentation of the code here.

Installation

Clone this repository and follow the steps below to run the code.

Python
  • Install the following dependencies.
    • opencv-python
    • numpy
  • Set the path of the folder containing input images in the file main.py at line 141.
  • Run the code using terminal
    • Navigate to the cwd.
    • Run: $ python main.py

C++

  • Make sure you have OpenCV binaries installed.
  • Set the path of the folder containing input images in the file main.cpp at line 199.
  • Run the file main.cpp. For CMake users, CMakeLists.txt is also created.