Skip to content

Using OpenCV libraries, a C++ code that is able to classify between full and free parking spot, in real time. THIS CODE IS DEPRECATED AND WAS WRITTEN FOR AN UNIVERSITY COURSE ON COMPUTER VISION.

License

Notifications You must be signed in to change notification settings

MatteoRagni/ParkAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ParkAssistant

Using OpenCV libraries, a C++ code that is able to classify between full and free parking spot, in real time.

MATTEO RAGNI 161822 - Homework 2 - Computer vision

Installation

Simply compile the whole project with the provided Makefile. The makefile is written for Debian based Linux distribution. OpenCV libraries are required to compile the project (libopencv-dev). To install opencv libreries just type in a root console:

apt-get install libopencv-dev

From the root folder of the project, type

make

to create executables file.

Run

Park Assistant

In this project only the main application and the first utility are provided The main application, named ParkAssistant must be runned with two arguments:

./ParkAssistant configuration_file.yml video_file.avi [ffwd >= 1]

a configuration file is provided under the name of sample_configuration.yml. The video file is not provided for reason of space.

Once runned, ParkAssistant shows the initialization situation for 10 seconds, than it starts with the real time acquisition.

alt text

The Utility

The utility is used to calibrate the position of the parking spots, using the mouse directly on the image. The left button of the mouse (4 consecutive clicks) are used to generate the polylines, while two consecutive right clicks are used to draw a rect. The utility should be launched as it follows:

./utility video_file.avi frame_number

About

Using OpenCV libraries, a C++ code that is able to classify between full and free parking spot, in real time. THIS CODE IS DEPRECATED AND WAS WRITTEN FOR AN UNIVERSITY COURSE ON COMPUTER VISION.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published