Vehicle Counting from a video
Show older comments
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 Comments
vinod sarna
on 8 Apr 2012
im also looking forward for this answer.. by the way ashfaq do u managed to get it?
Image Analyst
on 8 Apr 2012
Can't you just enlarge the region of interest to be the entire image?
vinod sarna
on 12 Jun 2012
Image Analyst how do i do that? any code suggestion pls
Walter Roberson
on 12 Jun 2012
imcrop()
Answers (2)
Helen Chen
on 17 Sep 2012
0 votes
From Walter in a comment above: imcrop()
Husanjon Ergashev
on 10 Dec 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
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!