Giter VIP home page Giter VIP logo

evil_car's Introduction

car self reporting for trafic violation:

project state : under decision

overview

instead of fixed point as traffic man or lidar for detectinng trafic violation we will be using in car sensors or planting others like cameras or gps module for detecting various vilations

decreption

A system that adds a smart self-reporting functionality to report traffic violations

numbers

  • 57% percent of road accidents because of humans US !alt

  • driver with higher violation rate are more likely to be part of accidant !img

  • percent increase with hazard violation !with_hazard

  • 20% from accident because of wrong passingAEU

first quarter 2015 with 4806 accidents

- 1232 wrong passing
- 151 leaving break speed
- 125 ignorance not carring
- 98 wrong lane 
- 83 extra speed
- 81 not making sure of route before entering
- 53 red light passing
- 40 candient piorty

Why do we need "yet another device" in our current traffic system?!

  • Our current system doesn't completely control the traffic
  • We can do it much better safer and less error-prone if we let the car track itself
  • We all want safer roads

But how our device is going to help?

Reducing the human factor [most probably errors] Ensuring that vehicles are properly tracked Utilizing the resulting data to make more accurate decisions about roads safety

use case:

  1. for speed violation a computer placed in car -raspberry for our prototype- will connect to car obd to read the car speed ,same time it will retrive the speed limit from the server , if the car passed the limit for extended period it will report it to server

  2. for one way road if car_2 happen to pass car_1 from the left diraction a camera placed in car_1 can detect it and report the violation for car_2

  3. reporting a problem in road like hole or open side .. etc > seems prety hard for fast cars roadai i think we still can propose it

but we can use this approch accelerometer, gyroscope, and speed [1]

for communication methods :

1. fixed point in the road entry were information exchange occur the * the car send any violation * the point update the road roles

we will not use v2x communication we only regulate human behavior with low cost unreliable device can be placed in car without the mad security concern or low latency war why_not_DSRC

  1. gsm celular communication where car gets continuse updates and report any violation

  2. wifi bse station for car to report

prototype ideas:

  1. a respery pi witch read the data from car using obd then transmiting using wifi to computer server 2. maquette of road with two traffic sign plate as server and car . at the route start the car recive the speed limit from first plate, at the road end the car report if it has passed the speed and get the new speed

we use celular data / wifi

3. maquette of road where car will pass certain speed and report it when connecting to wifi network at road stop

final version concept

a camera placed in front of car like dvr with inboard computer, gps, ultrasonic the model would be able to

  • find visaul detectable violations like wrong passing or turn checking ..etc
  • speed violation with gps * space from front car with ultrasonic

seems unreliable and hard to use as vehical will not always be in front

some links to help us https://www.raspberrypi.org/forums/viewtopic.php?t=143301 https://www.rhydolabz.com/wiki/?p=10450

plan B https://www.instructables.com/id/Use-your-android-phone-sensors-on-the-arduino-/ https://create.arduino.cc/projecthub/botletics/real-time-2g-3g-lte-arduino-gps-tracker-iot-dashboard-01d471?ref=tag&ref_id=tracking&offset=2 https://www.instructables.com/id/How-to-Receive-Arduino-Sensor-Data-on-Your-Android/

refrance projects

path-hole-detection

lane detection

front car detetction_no code

server in heroku https://github.com/abdo1819/server_evilcar/tree/master

evil_car's People

Contributors

hms-elkholy avatar kerolesgirges avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hms-elkholy

evil_car's Issues

Possible Modifications (Dependency injection + Redundancy reduction): [/gsm/gsm.py]

line(28,34) are redundant

line([28:35]) these data should be injected not hard defined within this file, my modifications
old:
line(141)

def sendHTTPRequest_POST(self,ser,host,request):

new:

def sendHTTPRequest_POST(self,ser,host,request,data):

line(36,37) are redundant
line(143) " I've previously suggested to remove this field however if it's not removed remove the time key as the sever MUST use it's time"
line(40) this should be injected as __init()__ parameter
old:

    def __init__(self,verbose=True):
        # code...
        self.serial_port='/dev/ttyUSB0'

new:

    def __init__(self,verbose=True,serial_port):
        # code...
        self.ser=serial.Serial(serial_port, baudrate=115200, timeout=6)

etc...
i hope you got my idea.

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.