Coder Social home page Coder Social logo

automatic-parking-system's Introduction



               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.

automatic-parking-system's People

Contributors

boudhayan-dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.