Skip to content

Latest commit

 

History

History
109 lines (97 loc) · 4.16 KB

README.md

File metadata and controls

109 lines (97 loc) · 4.16 KB



               Ask Me Anything made-with-python GitHub license PyPI - Status

Automatic Parking System is a parking solution designed for the modern establishments that want to manage their parking lot without human assistance. The proposed system consists of fully automated toll gates that control the entry and exit of the vechicles into and from the parking lot. It also features the ability to restrict the entry of blacklisted cars. The live status of the parking slots can be viewed through a mobile application designed for the system admins. The number plates of the cars are recorded on their entry/exit using OCR. The timing of their entry/exit, number plates and the number of empty slots are recorded and stored in database on every operation of the toll gates.

Dependencies

  • Python 3.
  • Google Cloud Platform - Vision API.
  • OpenCV.
  • Raspberry Pi 3.
  • PiCamera.
  • MG995 servo motors x2.
  • IR modules x2.
  • Thingspeak.
  • Companion App.

Usage

  • Connect the sensors to Raspberry Pi as follows.

  1. IR sensor 1 to GPIO 16.
  2. IR sensor 2 to GPIO 18.
  3. Connect the PCA9865 driver via I2C connection.
  4. Motor 1 to Pin 0 of PCA9685.
  5. Motor 2 to Pin 15 of PCA9685.
  5. Connect the PiCamera.

  • Replace the following line in run.py with the Vision API credentials.

  os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'GCP_SERVICE_ACCOUNT_CREDENTIALS.json'

  • Create a Thingspeak Account and create a new project with the following fields.
    number_plate , slots_remaining , status

  • Create new project in MIT App inventor and create the following blocks.
     Design View of Screen 1

          Block View of Screen 1


     Design View of Screen 2
          Block View of Screen 2


- Run the script on Raspberry Pi as follows
python3 run.py

Demonstration

  • The follwoing image shows the OCR operation

           

  • The following images show the live monitoring from the companion app.

1. Installation.
2. Home Page.
3. After Login.
4. Current parking slots available.
5. Downloading database.
6. Database in .xls format.


© All rights reserved.