Enable Personal Data Protection

FindFace supports laws related to the processing of personal data of individuals (GDPR and similar).

To apply personal data protection to your system, do the following:

  1. Open the /etc/findface-security/config.py configuration file.

    sudo vi /etc/findface-security/config.py
    
  2. Disable saving unmatched events by setting 'IGNORE_UNMATCHED': True.

    ...
    
    FFSECURITY = {
        ...
    
        # do not save unmatched events (GDPR support)
        'IGNORE_UNMATCHED': False,
    
        ...
    
    }
    
  3. For events with matches, enable blurring all unmatched faces in full frames. To do so, set 'BLUR_UNMATCHED_FACES': True. Optionally, you can modify the default JPEG quality of those frames.

    ...
    
    FFSECURITY = {
        ...
    
        # blur all unmatched faces on the full frame of the matched event (GDPR support)
        'BLUR_UNMATCHED_FACES': False,
    
        # full frame jpeg quality when `BLUR_UNMATCHED_FACES` is enabled
        'BLURRED_FULLFRAME_JPEG_QUALITY': 85,
        ...
    
    }
    
  4. Restart findface-security.

    sudo systemctl restart findface-security.service