Threat Detection
Threat Detection
Detection
Solution Guide
1
Contents
1 Threat Detection Solution Guide 3
1.1 Required Hardware and Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.1 Required Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Required Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Install SAFR Desktop Client and SAFR Actions . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Camera Selection and Positioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.1 Lighting Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.2 Install and Connect Your Cameras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3.3 Additional Camera Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Configure SAFR to Send Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4.1 Configure SAFR to Send Emails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4.2 Configure SAFR to Send SMS Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5 Configure ARES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6 Register People . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6.1 Register a Person Into SAFR Using a Photo . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6.2 Register a Person Into SAFR Using a Connected Camera . . . . . . . . . . . . . . . . 8
1.7 Configure a Registered Person as a Threat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.8 Test Your Threat Detection System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2
1 Threat Detection Solution Guide
This solution guide describes how to use SAFR to create an alert when a known threat appears at an entrance
monitored by a video camera.
This guide is written for Windows users. Linux users can achieve the same functionality, but they need to
use the Web Console instead of the Desktop Client & SAFR Actions GUI.
For simplicity’s sake, this guide assumes that you’re using a SAFR Cloud License. If you’re using a SAFR
On-Premises License, you’ll also need to install and manage the SAFR Server.
3
• At nighttime and indoors there should be a light source behind the camera so that subjects’ faces are
clearly illuminated.
• Avoid a direct line between the sun and your cameras’ lenses.
Backlighting, which is when light shines from behind a subject, can cause significant difficulties in recognition
and should be avoided whenever possible. However, because backlighting often can’t be avoided, the cameras
you use should have the following features which help alleviate backlighting difficulties:
• Shutter priority mode
• Exposer compensation
• Manual mode with full shutter speed, iris (aperture), and gain adjustment
The Sony 772R is one example of a camera with all of the features above. In addition to these features the
772R also offers various digital tools to enhance the image:
• Visibility enhancer
• Backlight compensation
• Highlight compensation
• Noise reduction
The basic steps in handling a backlight situation are as follows:
1. Angle the camera slightly toward the floor to eliminate as much direct light into the camera’s sensor as
possible.
2. Because people will be moving through the field of view (FOV), maintaining high shutter speed is
important to obtain blur-free images. To help accomplish this, place a bound on the slowest shutter
speed allowed.
3. Turn on backlight compensation if available (it’s available on the 772R), and adjust the level.
4. If faces are still dark, adjust the exposure compensation to brighten the faces. The background will
probably become overexposed, but that’s OK for facial recognition.
5. If there are specular reflections, or if faces are still too dark, turn on highlight compensation.
This approach is appropriate for situations where varying outdoor conditions also vary the amount of light
reflected from faces. Light intensity is simply boosted above what the cameras would choose automatically
and the image is enhanced to reduce exposer variance.
In cases where outdoor conditions generate backlight conditions and there is minimal variation in lighting
from inside (e.g. there are few windows, so indoor illumination doesn’t affect the lighting on subjects’ faces),
it’s more appropriate to place the camera in fully manual mode and set the shutter speed, iris, and gain
values manually to properly expose the face while allowing the background to be overexposed. When in
manual mode, the camera makes no auto-adjustments and is not thrown off by momentary bursts of light
due to opening doors or other momentary drastic changed in lighting. When setting your camera in manual
mode, do the following:
1. Set the shutter speed to 1/90 or higher.
2. Open the iris, increasing the f-stop for the iris (aperture) until subjects’ faces are bright enough.
3. Focus the camera on the sweet spot of the recognition where people are most likely to face towards the
camera.
Increasing the iris reduces the distance during which subjects’ faces are in focus. (This is called the depth
of field.) Increasing the iris increases the quality of the image but reduces the amount of time the image is
in focus and viability for recognition. In either case, focus the camera on the sweet spot of the recognition
where people are most likely to face toward the camera.
4
2. Select the Secure Access operator mode from the drop-down menu in the upper right corner of the
Camera Feed Analyzer window.
3. Optimize the camera location and orientation. Adjust the camera’s optical zoom to ensure that subjects’
faces are at least 80 pixels high from chin to forehead.
4. Adjust the focus of the camera to the closest position where all subjects’ faces are within the camera’s
field of view. (i.e. ensure that no one will be to the left or right of the camera view)
5. Add the camera’s video feed to your Video Recognition Gateway (VIRGO) video feeds by pressing the
Add to Video Feeds button.
6. Check your system’s CPU and GPU load. If you want to install an additional camera, but doing so
would increase your CPU or GPU load to 100% or greater, install an additional instance of the SAFR
Desktop Client on a different machine and install the additional camera on the newly installed Desktop
Client.
5
• Email Server: The address of the SMTP email server.
• Server Port: The email server port. The default port for SMTP is 587.
• Sender Email: The email username of the SMTP account. (e.g. [email protected])
• Note: If you use 2-Step-verification with a gmail account, you need to create and use an App
Password on your Google Account. For more information, see https://support.google.com/m
ail/answer/185833?hl=en.
• Password: The password for the SMTP account.
• From Email Address: The email address that will appear on the "From" line. This feature isn’t
supported by all email servers; if this field isn’t used then the Sender Email value is used for the
"From" line.
• Sender Name: The display name on the "From" line. (e.g. Susan Johnson)
• Test Email: Configure the test email that will be sent after you finish setting up the SMTP email
service.
• To Email: The email address to which the test email will be sent.
• Subject: The test email’s subject.
• Body: The test email’s body.
6
4. Click Apply.
5. Verify that the specified email address received a test email.
• SMS Provider: Your SMS Provider. You can select either SAFR Cloud or Amazon SNS from
the drop-down menu. The SAFR Cloud provider is much easier to set up however, so you should
probably select the default SMS Provider, SAFR Cloud.
• Test Message: Send a test message to verify that your SMS is properly configured.
• To Phone Number: The phone number to which the test message will be sent. The number
should be in the E.164 format. (e.g. +12065551313)
• Message: The text message that will be sent.
3. Click Apply.
4. Verify that the specified phone received a test SMS message.
7
• userId: Your username.
• userPwd: Your password.
• emailDef -> Item 1 -> recipients -> Item 1: The email address of whomever you want to
receive email notifications. If you want more than 1 person to receive email notifications, do the
following:
1. Hover your mouse over recipients.
2. Press the + button to create additional recipients.
3. Set the newly created item(s) to the additional email address(es).
• smsDef -> Item 1 -> recipients -> Item 1: The phone number of whomever you want to
receive SMS notifications. It should be in the E.164 format. (e.g. +2065551313) If you want more
than 1 person to receive SMS notifications, do the following:
1. Hover your mouse over recipients.
2. Press the + button to create additional recipients.
3. Set the newly created item(s) to the additional phone number(s).
6. Choose File > Save to save your changes.
Note: If ARES is installed on a different machine from a SAFR Desktop Client, make sure the system clocks
on the Desktop Client and ARES machines are within a few seconds of each other. (If the two system clocks
differ by more than a few seconds, events may not trigger.)
8
4. You can remove people already marked as Threat or Concern from view by filtering on ID Class for No
Concern.
5. For each person you want to configure as a threat:
1. Double-click the person.
2. Choose Threat or Concern from the ID Class menu list.
3. In the Desktop Client, that person will now be marked with a red oval overlay to indicate a Threat
or an amber oval overlay to indicate a Concern.