Vehicle Counting from a video

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 个评论

im also looking forward for this answer.. by the way ashfaq do u managed to get it?
Can't you just enlarge the region of interest to be the entire image?
Image Analyst how do i do that? any code suggestion pls

请先登录,再进行评论。

回答(2 个)

Helen Chen
Helen Chen 2012-9-17

0 个投票

From Walter in a comment above: imcrop()
Husanjon Ergashev
Husanjon Ergashev 2016-12-10

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by