Silhouette Detection

To collect real-time statistics on human silhouettes, you first have to enable silhouette detection.

In this section:

Enable Silhouette Detection

To enable detection of human silhouettes, do the following:

  1. Open the /etc/findface-extraction-api.ini configuration file and add a new detector edie (edie_rc2.cpu.fnk/edie_rc2.gpu.fnk) with relevant settings, as shown in the example below.

    sudo vi /etc/findface-extraction-api.ini
    
    detectors:
      max_batch_size: 1
      instances: 1
      models:
        cheetah:
          model: facedet/cheetah.cpu.fnk
          options:
            min_object_size: 32
            resolutions:
            - 256x256
            - 384x384
            - 512x512
            - 768x768
            - 1024x1024
            - 1536x1536
            - 2048x2048
        edie:
          model: pedet/edie_rc2.cpu.fnk
          options:
            min_object_size: 16
            resolutions:
            - 1280x720
            - 1920x1080
    

    Note

    The values of the edie options in the example are considered optimal. You can adjust them, subject to your cameras’ observation scenes. Contact our experts by support@ntechlab.com if you have any questions.

  2. Restart findface-extraction-api.

sudo systemctl restart findface-extraction-api