Git Product home page Git Product logo

speed-and-proximity-detection's Introduction

Speed and Proximity Detection Application

Speed and Proximity Detection System is a coming of age idea that can help change the way the current road security and law enforcement operate. The main bjective behind this project is to make Indian roads safer and disciplined, by monitoring the speeds at which each vehicle is travelling. This project encompasses the use of speed detection to notify drivers of any speeding violations. A proximity unit is also used to alert the driver incase he is driving too close to any vehicle, can also be used while parking.



Getting Started


SPD includes two main use cases:

  1. Speed Detection using ADXL 335 Accelerometer mounted on Arduino and its wireless transmission using Raspberry Pi to a database. The application detects overspeeding and abnormalities in driving. and send alerts to the driver via text and email.

  2. Proximity Detection using HC SR04 Proximity Sensor mounted on Arduino.

Prerequisites

Flask Application

To run the User Application run the following commands to install the required:

sudo apt-get install python-pip

pip install flask

sudo apt-get install mysql-server libmysqlclient-dev

pip install flask-mysqldb

pip install Flask-WTF

pip install passlib

Run the Admin Dashboard

cd SPD_Web_Application/admin python app.py

Run the User Page

cd SPD_Web_Application/user python app.py

Arduino Code

To run the sensors code, install Arduino IDE and run the files in SPD_Arduino_Code after connecting the sensors to the Arduino

Database

Import the databse files in /Database/SQL_Database_Files directly using SQL Workbench OR Install MySQL and run all the queries listed in /Database/queries.txt

Application UI

speed-and-proximity-detection's People

Contributors

bhagwatmugdha avatar

Watchers

James Cloos avatar  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.