How can I count street cars using Matlab and a Webcam?
3 views (last 30 days)
Show older comments
I am a new to matlab. I am doing a project that will require me to count the number of cars entering a street and exiting on the other side. Using the information, I will require to compute the number of cars on that particular street as in:
Density = Entering cars - Exiting cars.
Therefore I need to have two Regions of Interest in the video in form of a trigger line(line that counts when triggered by a car) as shown in this video. The example is not done in matlab though but am sure its possible. Does anyone know how I can go about this, I do not even know how I could insert such a line in a video. Thanks in advance
0 Comments
Answers (1)
Image Analyst
on 30 Jun 2014
What video? You didn't give a link or attach a video.
MATLAB can do this with the Computer Vision System Toolbox, as shown here: http://www.mathworks.com/help/vision/gs/object-detection-and-tracking.html#btt5qyu
2 Comments
See Also
Categories
Find more on Computer Vision Toolbox 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!