Skip to content

Service which gets an image of an license plate and returns a decision whether the vehicle may enter a parking lot.

Notifications You must be signed in to change notification settings

orrpaz/Parking-lot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parking-lot

Installations

First, download and install MySQL from the MySQL's official MySQL Server. You need to install the MySQL server to follow this tutorial.

Next, you have to install mysql.connector for Python. We need mysql.connector to connect Python Script to the MySQL database. Use the package manager pip to install MySQL-connector-python

pip install MySQL-connector-python

Also, you need to install Ocrspace's SDK and requests package to use Ocrspace API .

pip install ocrspace
pip install requests

After you install this packages, yuo will need to genatrate OCI API KEY From ocrspace website.

Insert your user data of MySQLServer (user and password) and API KEY that you genarate to config.properties

Usage

The program get as an argument path to directory which contains images for decoding. I added images as an example in resource directory. Assuming that each license plate's vehicles enters once. I didn't support delete from database. license_plate

Run in Shell:

python main.py <path to directory> 

About

Service which gets an image of an license plate and returns a decision whether the vehicle may enter a parking lot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages