Hello everyone, I'm badly in need of your help to count the number of vehicles passing by. I have the code for detecting the vehicles in an interested frame from the demo http://www.mathworks.com/products/computer-vision/demos.html?file=/products/demos/shipping/vision/videotrafficof.html but it detects and counts only the vehicles in the interested region. Can anyone help me out to count the total number of vehicles passing by a busy road? What changes do I need to make of that demo code to count the total number???
Looking forward for your answers. Thank you.
Ashfaq

4 commentaires

vinod sarna
vinod sarna le 8 Avr 2012
im also looking forward for this answer.. by the way ashfaq do u managed to get it?
Image Analyst
Image Analyst le 8 Avr 2012
Can't you just enlarge the region of interest to be the entire image?
vinod sarna
vinod sarna le 12 Juin 2012
Image Analyst how do i do that? any code suggestion pls
Walter Roberson
Walter Roberson le 12 Juin 2012
imcrop()

Connectez-vous pour commenter.

Réponses (2)

Helen Chen
Helen Chen le 17 Sep 2012

0 votes

From Walter in a comment above: imcrop()
Husanjon Ergashev
Husanjon Ergashev le 10 Déc 2016

0 votes

Read this file. Might help you
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwi_y-S5lOrQAhWOQpQKHUW2A4UQFggbMAA&url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F0%2F05%2FOBJECT_COUNTING_AND_DENSITY_CALCULATION_USING_MATLAB.pdf&usg=AFQjCNG3sJB7tkRJRNmlPhpdEK3fEZTomw&sig2=v5IcoJpvz5Zds3_WdZEwAw

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by