Answered step by step
Verified Expert Solution
Question
1 Approved Answer
n You are required to propose and implement an algorithm to count the number of vehicles from a traffic camera. In particular, your input is
n You are required to propose and implement an algorithm to count the number of vehicles from a traffic camera. In particular, your input is an image. And your output is the number of vehicles in the image, and the bounding boxes covering the vehicles. For your simplicity, the vehicles include cars, buses, trucks, and school buses. Write a MATLAB script which reads the input image, performs the vehicle counting, visualizes the bounding boxes, and shows the output. You may use the attached images: test1.jpg, test2.jpg, test3.jpg, test4.jpg, test5.jpg, and test6.jpg to develop and test your algorithm. There are up to 6 vehicles in the testing images. Hint: The vehicles usually have different appearance from the background. You may segment all vehicles from the background first. Then, for all the foreground, you split into different vehicle instances. Finally, you will be able to count the number of vehicles and visualize the bounding boxes. Examples: Number of vehicles in the image: 1 Number of vehicles in the image: 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started