M
M
masterrr2011-08-05 14:43:05
Pattern recognition
masterrr, 2011-08-05 14:43:05

Software counting of cars with video

There is a video from surveillance cameras over the roadway, .mp4, 1 minute long. It is necessary to count the number of objects (cars) in both directions in this 1 minute.

In what language, what is the best way to implement this?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Akson87, 2011-08-05
@Akson87

First you need to clarify for what purposes.
If for commercial use, then everything has already been written for a long time and it will be more expensive to bother with development.
If for training, then we read about OpenCV and go ahead.
I once started my career by counting people on video… that’s still entertainment. Neither problem has been solved with 100% accuracy so far and is much more complex than it seems at first glance, but trying to solve it will bring quite a lot of benefits. To understand the complexity, try to imagine a car driving behind a truck and appearing from behind it for a couple of frames or two cars that are driving at the same speed side by side. Even the simple separation of the car from the asphalt during the rain is not an easy task.

F
Finar, 2011-08-05
@Finar

Offhand, I would suggest that with the help of the avisynth language and the mvtools plugin or its relatives. Here are some more Russian-language plugins.

F
Finar, 2011-08-05
@Finar

“MVTools plugin for AviSynth 2.5 is a collection of functions for evaluating and compensating the movement of objects in video clips” - the filter may not perform its intended task, but it is obvious that in order to “evaluate and compensate” the movement of an object, the object must first of all be “selected” from the surrounding Images. Next, you need to shine the filter to count the "selected" objects with the given boundaries of the motion vectors. Something like this.

@
@bonext, 2011-08-05
_

For educational purposes, in addition to OpenCV, MATLAB is well suited. Especially if you need to quickly throw in a prototype of the algorithm.

R
RuJet, 2011-08-06
@RuJet

Erlang

K
Ky7m, 2011-08-07
@Ky7m

There is even a similar example in Matlab in Demos called Detecting Cars in a Video of Traffic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question