Coder Social home page Coder Social logo

lab-work / its2017_validation Goto Github PK

View Code? Open in Web Editor NEW
2.0 6.0 6.0 52.36 MB

Vehicle detetion and speed estimation from side-view camera

License: GNU General Public License v3.0

Python 100.00%
video-processing traffic-analysis computer-vision machine-learning embedded-systems

its2017_validation's Introduction

Traffic Estimation through a Side-View Camera

This is the official repository containing the script and a sample video data for vehicle detection and speed estimation in a side-view traffic camera. The script is written in Python and has dependency on Scipy, OpenCV, and scikit-learn. The data was collected on Neil Street on May 30th, 2017 in Urbana, IL, where a total of 55 vehicles were recorded in the video. This is part of the research conducted with Yanning Li and Prof. Daniel B. Work at the Coordinated Science Lab at UIUC.

Installation

The Python script has the following depencies:

  • Scipy stack
  • OpenCV
  • scikit-learn

To install them,

>> pip install numpy, matplotlib, scipy, scikit-learn

Next, install or compile OpenCV Python binding on your system. For Ubuntu 16.04 users, you may follow the instuction here.

Usage

To process the sample video data,

>> python run.py

To customize the script to a different side-view traffic footage, one needs to measure the following items:

  • Frame per second
  • Horizontal field of view (rad)
  • Camera rotation in the plane perpendicular to the lens center axis (rad)
  • Pixel distances of three horizontal lines in the frame with respect to the image origin (pixel)
  • Physical distances of these three horizontal line with respect to the camera position (m)

Extended Dataset

More video data can be downloaded here. The linked Box folder contains scripts to process each individual video footage.

Contact

  • Author: Fangyu Wu, Coordinated Science Laboratory, UIUC
  • Email: fwu10(at)illinois.edu
  • Web: fangyuwu.com

its2017_validation's People

Contributors

fywu85 avatar yanningli avatar

Stargazers

Tuan-Vu Trinh  avatar Paulo Leonardo avatar

Watchers

James Cloos avatar Dan Work avatar  avatar  avatar  avatar Will Barbour 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.