Facial Recognition 6.4.1
A new AI engine has been added to the FortiRecorder module to identify a person by analyzing patterns in the person's facial features. Faces detected by the camera can be used to enrich the Assets and Identity feature for UEBA correlation. The facial recognition feature allows SOC to easily perform video surveillance for its physical security from a single FortiAnalyzer console.
GUI
To enable face recognition in the GUI:
- Go to FortiRecorder > Camera Manager.
- In the tree menu, click Camera and select a managed camera in the pane.
- Enable Face Recognition.
- Click the AF icon to focus the camera.
- To view faces detected by the camera, go to FortiRecorder > Face Recognition, and click New Face Detected in the tree menu.
- Similar faces are organized into clusters.
- Each cluster represents a different user.
- You can delete a face from a cluster or merge faces in a cluster.
- Click the image in a cluster to watch a video of the user event.
- Clusters can be ordered by count or time.
- Use the profile pane at the right side of the page to link faces to user profiles.
New faces can be linked to following profile types:
- UEBA : The user has an existing endpoint entry within FortiAnalyzer, and has information retrieved from FortiClient and FortiGate.
- Non-UEBA Staff: The user does not have an endpoint entry in FortiAnalyzer, but is employed by your organization. For example, a maintenance person.
- Guest: Someone who is not employed by your organization.
- In the tree menu, click Known Faces to view faces that are linked to a user profile.
- New events detected by the camera events are saved to the related known faces cluster.
- You can delete events from a cluster.
- Click the image to view a video of the event.
- You can order the clusters by count, or by the image time stamp.
To view activity reports in the GUI:
- In the tree menu, go to Activity Report > Guests.
The report pane displays the user events.
- Hover an event in the time line to view when the event was detected and the camera that detected it.
- Click an event in the time line to watch a video of the event.
- Use your scroll wheel to adjust the time frame.
- Click Reset Zoom to reset the time line.
- In the tree menu, go to Activity Report > Internal Users.
Click a heading to sort a column in ascending or descending order. The following information is displayed:
- User Name: The internal user name.
- Bandwidth (Sent/Received): The bandwidth sent and received from the camera in bytes.
- Captured Times: The number of times the camera captured an image of the user.
- In the toolbar, click the time frame dropdown to specify the time period.
CLI
To enable and disable the AI module in the CLI:
config system global
# set disable-module
The disable-module command enables all of the AI modules. |
To set the database and disk quota in the CLI:
- Set disk quota for AI.
config system global
set ai-disk-quota value <disk limit in GB>
If the configuration is successful, the remaining available hard disk space shall be deducted accordingly.
- Set database table item count limit.
execute face-recognition setting event_item_count_max <limit>
- The aisched daemon cleans up the database and disk used by AI approximately once a day.
CPU usage
CPU usage is managed by nice
. The AI module has three daemons:
aid
|
Pre-processes videos with deep learning algorithms, which consumes lots of computational resources. The niceness is set to 19 (lowest priority). |
aiclusterd
|
Requires limited CPU/memory resource and is responsible for user interfaces. The niceness is set to default value 0. |
aisched
|
Performs routine tasks,such as daily database clean up and requires very limited CPU/memory sources. The niceness is set to default value 0. |
Memory usage
Memory usage of daemon aid is controlled by Cgroup
. If the limit is violated, daemon aid will be killed by Linux kernel.
The following CLI is used to update the maximum memory limitation. The default value is 4096.
config system global
set ai-memory-quota <limit in MB>
end
Face Recognition
Face recognition related CLIs have been added under the execute face-recognition
command:
execute face-recognition
backup backup AI infos
log AI log
process process specific videos
restore restore AI infos
setting Show/Modify AI configuration
To back up an AI user's personal information in the CLI:
execute face-recognition backup <ip:port> <filename><username><password>
Now we support restore from FTP server only.
Restoring an AI user's information is supported in the FTP server only. |
To insert a specific camera's into the AI database in the CLI:
execute face-recognition process <camera_name>
To configure AI specific settings in the CLI:
Show all AI setting parameters:
execute face-recognition setting
Show a specific key value:
execute face-recognition setting <key>
Modify a specific key value:
execute face-recognition setting <key> <key_value>
Event logs
Three log types have been added to the current log system:
LOG_EVENT_AID_STATUS
LOG_EVENT_AID_CONFIG
LOG_EVENT_AID_UI