Vehicle counting

From Communauté de la Fabrique des Mobilites

Short Description: perform vehicle detection, tracking and counting

Description: There are several ways to perform vehicle detection, tracking and counting. Here is a step-by-step of a simplest way to do this:

  1. First, you will need to detect the moving objects. An easy way to do vehicle detection is by using a Background Subtraction (BS) algorithm. You can try to use a background subtraction library like BGSLibrary.
  2. For vehicle tracking, you will need to use a tracking algorithm. A simplest way to do this is by using a blob tracker algorithm (see cvBlob or OpenCVBlobsLib). So, send the foreground mask to cvBlob or OpenCVBlobsLib. For example, the cvBlob library provide some methods to get the centroid, the track and the ID of the moving objects. You can also set to draw a bounding box, the centroid and the angle of the tracked object.
  3. And then, check if the centroid of the moving object has crossed a region of interest (i.e. virtual line) in your video.

Image:

Fabmobimage.58.jpg

Web Site : https://github.com/andrewssobral/simple_vehicle_counting

Organisations interested to contribute or already contributing:

Organisations using or interested to use the resource:

Contributor:

Tags: compteur, vehicle, counter

Category: Logiciel

Theme: Voiture Connectée

Referent:

Challenge addressed:

Key persons:

Other common:

Communauty of interest:

Type of common:

Produced in the field of OpenChallenge?

Level of developpment

Chat Space to discuss: [1]

Mailing list:

Task management link:

File management link:

Needs:


Complement:


Next step:


Others informations: