Skip to content

Using Raspberry Pi Camera and Machine Learning to analyze street traffic patterns.

Notifications You must be signed in to change notification settings

clementlefevre/Fast_and_Curious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast and Curious

alt text

Concept

  • Using a Raspberry Pi + webcam, record the speed of the vehicles driving in my street.
  • Label the training set using my own tool (Mechanical French)
  • Then, apply an image classifier (Tensorflow convnet) to generate stats per vehicle category.
  • Finally, implement a Dashboard for the processed data & Look for correlation with other data (weather, time slot, events)

Tools

  • For speed calculation, on the shelf library speedcam, using opencv mean_shift method.
  • For vehicles classification : standard keras wrapper on tensorflow with image augmentation, applying standard CNN layers layout.

As of 2018_04_06

  • 30000 vehicle's speeds recorded, 18000 manually classified.
  • Validation accuracy on a binary classifier (car vs bike) : 97%

Some visualizations here

About

Using Raspberry Pi Camera and Machine Learning to analyze street traffic patterns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages