GithubHelp home page GithubHelp logo

fitrialif / intelligenttrafficcontrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joselamego/intelligenttrafficcontrol

0.0 2.0 0.0 15 KB

This project consists in a Traffic signal (semaphore) controlled by an Intel Edison board with a Poky (Embedded Linux) distribution running a python application that detects vehicle/pedestrian movement from 2 USB cameras, determines and controls optimal light signal changes.

License: Other

Python 100.00%

intelligenttrafficcontrol's Introduction

Intelligent Traffic Control

This Python code is configured to be implemented on an Intel Edison Board to capture video from two USB cameras, detect motion objects in the visual area and computes the corresponding signal change routines for a semaphore, accordingly to the programmed logic for the traffic conditions. The light changes are commanded through GPIOs and processed video is then transmitted via WiFi through a local web server also generated and controlled by the main application.

The motion detection is achieved using the OpenCV library through a successive process of background subtraction, frame to frame comparison to detect motion objects, and object discrimination based on image size.

The light changing control consists on a base time-controlled routine, that commands a periodic light change under low-to zero traffic conditions. The presence of a vehicle in any of the concurrent roads triggers a request for a light change.

The processed video is transmitted to a python-based simple HTTP web server and then accessed by a remote client connected to the same network as the Intel Edison board.

Future improvements

There a lot of future improvements that can be added to this project. Please go to the wiki section and feel free to contribute!

intelligenttrafficcontrol's People

Contributors

joselamego avatar

Watchers

James Cloos avatar Mohd Fitri Alif Bin Mohd Kasai 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.