how to count all vehicles in a video using matlab

3 visualizaciones (últimos 30 días)
Ameni chetouane
Ameni chetouane el 8 de Jul. de 2019
Comentada: Dua Mughal el 10 de Feb. de 2021
i already have vehicle count in each frame but i need to count the total number of vehicles.
Looking forward for your answers. Thank you.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 8 de Jul. de 2019
Editada: KALYAN ACHARJYA el 8 de Jul. de 2019
If you are finding the vehicle number individually per frame
tot_v=0;
for i=1:no_v_frame
tot_v=tot_v+no_v_frame(i)
end
or
i already have vehicle count in each frame
Just do sum, suppose you have stored the vehicle number in an array, then
vehicle_frame=[2 3 4 5.....]
tot_v=sum(vehicle_frame);
If you looking for different issue, let me know?

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by