Face Identification in Offline Videos

Besides real-time face identification, FindFace Security allows for offline video processing. This functionality has a wide range of possible applications, among which the most common case is face detection and recognition in archived videos. Supported formats are MP4 and FLV (H.264).

In this chapter:

Configure Offline Video Processing

By default, video files are processed in a queued mode to prevent event drops due to resource overconsumption. You can modify the default number of simultaneously processed video files. To do so, open the findface-security configuration file and change the MAX_VIDEO_ARCHIVE_JOBS parameter. Please contact our experts prior (support@ntechlab.com) to make sure your resources are enough.

sudo vi /etc/findface-security/config.py

...

FFSECURITY = {
...
    # maximum concurrent video manager jobs for video archives processing
    'MAX_VIDEO_ARCHIVE_JOBS': 3,
    ...
}
...

Process Video File

To identify faces in an offline video, do the following:

  1. To process offline videos, you need a camera group. You can create a new camera group with basic settings or use the Video Archive default camera group. After the camera group is chosen, assign it to all watch lists that you want to monitor when processing the video.

  2. Create a video in FindFace Security by uploading it from a file or online storage/cloud. To do so, navigate to the Videos tab.

  3. Click +.

    create_video_en

  4. Specify the video name.

    video_upload_en

  5. Specify the video URL in an online storage, or select a video file.

  6. Click Upload.

  7. After the video is uploaded, navigate to the Parameters tab. Select the camera group you have chosen.

    video_parameters_en

  8. (Optional) Select a camera to which you want to attribute the face recognition events found in the video.

  9. (Optional) Configure the timestamps for face recognition events.

  10. (Optional) On the Advanced, ROI, ROT tabs, specify parameters of video processing in the same manner as you do when configuring a camera.

  11. Navigate to the Processing tab. Click Process to start face identification.

    video_process_en

    You can view face identification events right here, as well as on the Events and Episodes tabs by filtering the list of events by the camera group/camera associated with the video.