Vehicle Counting from a video

2 views (last 30 days)
Ashfaq
Ashfaq on 27 Jul 2011
Answered: Husanjon Ergashev on 10 Dec 2016
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
vinod sarna on 12 Jun 2012
Image Analyst how do i do that? any code suggestion pls

Sign in to comment.

Answers (2)

Helen Chen
Helen Chen on 17 Sep 2012
From Walter in a comment above: imcrop()

Husanjon Ergashev
Husanjon Ergashev on 10 Dec 2016
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

Community Treasure Hunt

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

Start Hunting!