Skip to content

scia-assistant/drones-parking-detection

Repository files navigation

PROJECT DRONES PARKING DETECTION

📗 Table of Contents

🚀 Subject

This project consists of multiple drones flying over a region (city, country) in order to supervise how cars are parked. It calculates a percentage that represents how well a car is parked on the parking slot. It can also determine if a slot is empty or not.

Those data are either used by the local authorities if a car is badly parked or by a company. Indeed, alerts are sent to the police quickly so that they can take care of it as fast as possible. On the other side, all the drones data are used to make statistics of the region's parking slots availability.

🛠 Dependencies

  • Kafka
  • Spark
  • Grafana
  • Flask
  • Docker
  • Postgresql
  • MinIO

⚙️ Setup

In order to setup the app, the user can modify three environnement variables:

  • PARKING_ALERT_THRESHOLD_MIN
  • PARKING_ALERT_THRESHOLD_MAX
  • FREE_PARKING_THRESHOLD

If PARKING_ALERT_THRESHOLD_MIN < percentage < PARKING_ALERT_THRESHOLD_MAX, then the car is badly parked. If percentage < FREE_PARKING_THRESHOLD, then parking lot is not occupied.

💻 Usage

Here are the steps you'll need to follow in order to run the app.
Some services will need a login and a password, which are the following:

  • User: UserParking
  • Password: PassWordParking
$ mkdir -p minio/data/my-bucket/
$ make
$ make kafka
$ make check_kafka #(wait until the process is finished)
$ make services

Wait for all the containers to be running.
Go to your browser and open

$ make send_data #(generates the drones data, wait until the process is finished before the next command)

You can see in the webapp (http://localhost:5001), the alerts are sent
You can see in the data lake (http://localhost:9090)

$ make stats #(batch processing to generate some stats, wait until the process is finished before the next command)

The statistics are in the grafana (http://localhost:3000/d/fdqgrch23zhtse/dashboardparking?orgId=1)

👥 Authors

  • Dorian Penso
  • Léa Margery
  • Maxime Buisson
  • Sacha Hibon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •