GithubHelp home page GithubHelp logo

sgt76 / 2019-hardware-miniproject Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bostonuniversityseniordesign/2019-hardware-miniproject

0.0 0.0 0.0 4.45 MB

EC463 Senior Design Miniproject: Raspberry Pi video processing

License: Apache License 2.0

Python 72.63% MATLAB 27.37%

2019-hardware-miniproject's Introduction

Actions Status Actions Status

Please see the Wiki for the EC463 hardware Miniproject.

FFT-based lane automobile detection

Machine learning / computer vision methods are not necessary for this task, thanks to the h.264 motion vectors output by the GPU from the Picamera. Since we know cars usually travel within a road lane, we can exploit this fact to greatly simplify the processing to be nearly 100x faster using plain Python or GNU Octave code than is achievable with OpenCV.

configuration

The file config.ini holds the parameters used to filter and plot the video. At the moment, up to four lanes of traffic can be configured--just leave lane(s) blank if you don't want to use them.

Python

CaptureMotion.py captures h.264 motion vectors from the camera as computed by the GPU, and stores them to motion.h5

CountMotion.py counts moving objects in lanes using FFT of spatial motion data

For running the script automatically, it's handy to have a main script that calls CaptureMotion.py and then runs CountMotion.py. The script CaptureAndCount.py does this.

2019-hardware-miniproject's People

Contributors

scivision 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.