Anonymizer  5.0.0
SDK for anonymization of human faces and licence plates in images.
AnParams Struct Reference

Control parameters. More...

#include <Anonymizer.h>

Data Fields

AnROI ROI
 
int mode
 
int showDetections
 
int jpegQuality
 
int panoramic
 
double faceConfidenceThr
 
double faceDetSizeFactor
 
int faceNumBlurPass
 
double lpConfidenceThr
 
double lpDetSizeFactor
 
int lpNumBlurPass
 
int verbose
 

Detailed Description

Control parameters.

Set of parameters controling anonymization process. AnParams enables define in runtime parameters like ROI definition, anonymized object type, output image quality etc.

Anonymization contains two detection modules (Face and Licence Plate), for both the control of balance between true positive detections and false alarms can be balanced by dFaceConfidenceThr, dLpConfidenceThr parameters. Higher value -> less false detections & lower detection rate, Lower value -> higher detection rate, more false detections.

Anonymization area and anonymization degree is controled by dFaceDetSizeFactor & iFaceNumBlurPass (dLpDetSizeFactor & iLpNumBlurPass respectively)

For visualisation purposes the iShowDetection flag is used. Detections are then highlighted insted of blurred

See Developer Guide for more details.

Definition at line 74 of file Anonymizer.h.

Field Documentation

◆ faceConfidenceThr

double faceConfidenceThr

The minimal confidence of a face to be anonymized. (Detector return confidences > 0)

Definition at line 82 of file Anonymizer.h.

◆ faceDetSizeFactor

double faceDetSizeFactor

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

Definition at line 83 of file Anonymizer.h.

◆ faceNumBlurPass

int faceNumBlurPass

Number of blur passes over face detection

Definition at line 84 of file Anonymizer.h.

◆ jpegQuality

int jpegQuality

Output image jpeg quality 0..100, default 90

Definition at line 79 of file Anonymizer.h.

◆ lpConfidenceThr

double lpConfidenceThr

The minimal confidence of a license plate to be anonymized. (Detector return confidences > 0)

Definition at line 86 of file Anonymizer.h.

◆ lpDetSizeFactor

double lpDetSizeFactor

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

Definition at line 87 of file Anonymizer.h.

◆ lpNumBlurPass

int lpNumBlurPass

number of blur passes over lp detection

Definition at line 88 of file Anonymizer.h.

◆ mode

int mode

Flag indicating whether to anonymize faces or license plates or both. default ANONYMIZE_FACE | ANONYMIZE_LP

Definition at line 77 of file Anonymizer.h.

◆ panoramic

int panoramic

Enable copying of left and right borders to detect objects on the edges of panoramatic photos

Definition at line 80 of file Anonymizer.h.

◆ ROI

AnROI ROI

Region of interest - the area scanned for detections default from_col=0, to_col=MAX_INT, from_row=0, to_row=MAX_INT

Definition at line 76 of file Anonymizer.h.

◆ showDetections

int showDetections

Debugging flag indicating, that detections will be highlighted instead of blurred

Definition at line 78 of file Anonymizer.h.

◆ verbose

int verbose

Enable logging anonymization progress on to stdout

Definition at line 90 of file Anonymizer.h.


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