Anonymizer  7.0
SDK for anonymization of human faces and licence plates in images.
AnDetectionParams Struct Reference

Control parameters for detected objects to be anonymized. More...

#include <Anonymizer.h>

Data Fields

int anonymize
 
float threshold
 
int min_length
 
int max_length
 
float blur_size_factor
 
int blur_num_passes
 

Detailed Description

Control parameters for detected objects to be anonymized.

This structure holds the set of parameters that control the anonymization process of a detected object.

The anonymization process includes two detection modules: Face and License Plate. The balance between true positive detections and false alarms for these modules can be controlled using the threshold parameter:

  • Higher value: Fewer false detections but lower detection rate.
  • Lower value: Higher detection rate but more false detections.

The area and degree of anonymization are controlled by the blur_size_factor and blur_num_passes parameters.

See also
See the Developer Guide for more details.

Definition at line 56 of file Anonymizer.h.

Field Documentation

◆ anonymize

int anonymize

Flag indicating whether to anonymize the given detection object (1 to anonymize, 0 to skip)

Definition at line 57 of file Anonymizer.h.

◆ blur_num_passes

int blur_num_passes

Number of blur passes over the detection

Definition at line 65 of file Anonymizer.h.

◆ blur_size_factor

float blur_size_factor

Parameter to enlarge the anonymized area ( < 1.0 - smaller than detection, 1.0 - exactly as detection, > 1.0 - larger than detection)

Definition at line 64 of file Anonymizer.h.

◆ max_length

int max_length

Maximum length of the detected object to be accepted, in pixels

Definition at line 62 of file Anonymizer.h.

◆ min_length

int min_length

Minimum length of the detected object to be accepted, in pixels

Definition at line 61 of file Anonymizer.h.

◆ threshold

float threshold

Detection threshold to balance between recognition of objects and the number of false positive detections

Definition at line 58 of file Anonymizer.h.


The documentation for this struct was generated from the following file: