![]() |
Anonymizer
6.0.1
SDK for anonymization of human faces and licence plates in images.
|
Control parameters. More...
#include <Anonymizer.h>
Data Fields | |
AnROI | ROI |
int | mode |
int | showDetections |
int | jpegQuality |
int | keepEXIF |
int | panoramic |
double | faceConfidenceThr |
double | faceDetSizeFactor |
int | faceNumBlurPass |
double | lpConfidenceThr |
double | lpDetSizeFactor |
int | lpNumBlurPass |
int | verbose |
Control parameters.
Set of parameters controling anonymization process. AnParams enables to define parameters in runtime 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.
double faceConfidenceThr |
The minimal confidence of a face to be anonymized. (Detector return confidences > 0)
Definition at line 83 of file Anonymizer.h.
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 84 of file Anonymizer.h.
int faceNumBlurPass |
Number of blur passes over face detection
Definition at line 85 of file Anonymizer.h.
int jpegQuality |
Output image jpeg quality 0..100, default 90
Definition at line 79 of file Anonymizer.h.
int keepEXIF |
EXIF information in JPG files will be preserved. NOTE that EXIF thumbnail is not anonymized and that nonstandard EXIFs may not be preserved.
Definition at line 80 of file Anonymizer.h.
double lpConfidenceThr |
The minimal confidence of a license plate to be anonymized. (Detector return confidences > 0)
Definition at line 87 of file Anonymizer.h.
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 88 of file Anonymizer.h.
int lpNumBlurPass |
number of blur passes over lp detection
Definition at line 89 of file Anonymizer.h.
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.
int panoramic |
Enable copying of left and right borders to detect objects on the edges of panoramatic photos
Definition at line 81 of file Anonymizer.h.
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.
int showDetections |
Debugging flag indicating, that detections will be highlighted instead of blurred
Definition at line 78 of file Anonymizer.h.
int verbose |
Enable logging anonymization progress on to stdout
Definition at line 91 of file Anonymizer.h.