← Back to Articles

Loitering Detector

Loitering detector icon

Restricted area - no loitering zoneAmong the tasks modern video surveillance aims to perform is crime prevention. We’ve already touched upon the topic when it comes to shop surveillance, however, this concerns less public areas as well. Preventing crime often depends upon the ability to foresee and forestall it, which, in turn, relies on recognizing suspicious behavior. Consider a person spending a lot of time within an area adjacent to a restricted zone without any apparent reason, legal or otherwise. Naturally, this is something that will catch the eye of an experienced guard – even if the loiterer cannot be detained immediately (few judicial systems recognize loitering with intent as a punishable offense, even fewer are able to define the term accurately, so that the court could ultimately pass judgment) special attention will be given to the potential intruder. No security system worth its mettle should turn a blind eye to this typical kind of suspicious behavior, as the consequences can be rather dire (e.g. street gangs often use such tactics for scouting and distraction).

 

A little more than just a loitererConsider another example: an otherwise unremarkable individual is watching your front door intently for quite some time and never goes too far from it. A tourist trying to find their way through an unfamiliar street block? Or a stalker? Or, perhaps, a burglar waiting for you to leave? Either way, this is something you’d rather not overlook and take precautions.

Examples like these are numerous and, sadly, not uncommon nowadays. Loitering may not be grounds for arrest but is certainly a cause for suspicion. Until recently the only eye that could take note of this kind of behavior was a human one. However, the ever-watchful eye of a camera is learning from its creators and starting to keep up with them. Automation options are a key factor for any modern security system, as cameras and computers with software are incapable of negligence. Let’s see if Xeoma can take up the guard’s duty.

 

“Loitering Detector” is another partner for “Object Detector” (the first being “Cross-Line Detector”), so the common chain should look like this:

Sample chain with Loitering Detector

“Object Detector” looks for objects (preferably moving ones) on the live feed, assigns them unique IDs and sends this data to “Loitering Detector”. The latter counts the time those objects spend within the frame and triggers when they take too long:

Loitering Detector settings

Note that the module in need of fine-tuning is “Object Detector”, as it decides what to count as an object. Now let’s see if we can apply this system to the examples above and identify loitering with intent. First, a restricted zone – a chain like this should provide tight security:

Security in restricted areas

Since this is a restricted access facility, we assume the archive is needed only for specific hours – hence the “Scheduler”. Once the timer in “Loitering Detector” reaches the limit, it triggers a “Sound Alarm”, makes a “Pop-up Window” and “HTTP Request Sender” informs some external device (e.g. centralized logging system for further analysis). If needed, you can add “Detector of abandoned objects” to the chain as well – to trigger a separate alarm. This will back up the guards on duty in case something escapes their attention.

On to the front door – here is a useful chain for it:

Your own security system

Xeoma archives the footage 24/7, since you wouldn’t want to leave your property unwatched. Later you can simply fast-forward through the video while viewing the archive. Once “Loitering Detector” has something to report, it will trigger “SMS Sending” to instantly notify you. The second line of defense is “Face Detector” – it will count the faces in the frame and when it exceeds a certain limit (e.g. 4), it will send you an SMS as well: there is a commotion near your door that you should be aware of, be it harmless or loitering with intent. You can add “Sending Email” to the chain, if you’d like to get a picture or a video of the event – it will attach the necessary information to the message. This way you should be able to tell if any suspicious behavior is present.

Do you want to not only protect your business from intruders, but also make it prosperous? Xeoma has 8 ways to grow your business fast!

Video content analysis as a science has made an impressive leap forward this decade, finding new efficient ways to make software recognize patterns. The next exciting step would be object recognition and identification.

December, 14 2017

Read also:
Slip and Fall detector
Visitors Counter
Face Detection and Recognition
Security at railway stations