MATLAB abandoned Object Detection
Show older comments
I am working on Abandoned Object Detection. While testing the MATLAB AOD code, I found that a parameter alarmCOunt is used as 45.
I want to know on which basis it is set as 45.
Secondly, it is used in a function videoobjtracker() to return Count. To understand its depth I looked for the function and functionality but didn't find any.
I am working on R2013a please help with these concerns.
For more reference I enclosed the snippets with red marks.

7 Comments
Walter Roberson
on 28 Aug 2019
The video is 30 frames per second. 45 frames is 1.5 seconds.
videoobjtracker is located at toolbox/vision/visiondemos/videoobjtracker.m relative to your installation .
Monika Mehta
on 28 Aug 2019
Steven Lord
on 28 Aug 2019
I'm not certain but I suspect it was chosen to make the example (specifically the video of the example in action linked from its documentation page) run in a short amount of time. The video only lasts 34 seconds, so having the example wait to declare an object abandoned only if it is stationary for 30 seconds probably would have required the video to run for several minutes during which time there may be very little action present.
In addition I could also see calling an object "abandoned" after a second and a half useful in certain circumstances. In the case of this video, alerting the passenger hurrying to board the train on the left side of the figure "You forgot your package on the seat" while they are still on the train platform near the package so they can return quickly to pick it up is useful.
If you were to wait for 30 seconds, the train with the passenger on board may have departed. Given the schedule of the trains at the Natick Center commuter rail station where that video was recorded, returning from the next station where the train stops to retrieve the package could delay the passenger's arrival in Boston by minutes or hours.
Monika Mehta
on 28 Aug 2019
Walter Roberson
on 29 Aug 2019
I remember being in London Gatwick airport a number of years ago, during a heightened alert. If you stepped a meter away from your luggage to throw a scrap into a garbage can, then one of the soldiers with machine guns would swivel to the near-ready and firmly tell you not to leave your luggage -- the assumption in the circumstance being that anyone more than about 50 cm away from their luggage might be a bomber moving away from a luggage bomb.
Steven Lord
on 29 Aug 2019
On the other hand, if you were monitoring a parking lot a car might have to remain in place for days or weeks to be considered abandoned. Someone who went to a shopping center or mall and had lunch or dinner at a restaurant inside then spent a couple hours shopping at first one store then another could leave their vehicle all day. Someone who drove to the airport to fly for work or for a vacation could leave their vehicle for several weeks.
Monika Mehta
on 30 Aug 2019
Answers (0)
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!