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

Configuration structure for Anonymizer state initialization. More...

#include <Anonymizer.h>

Data Fields

ERComputationMode computation_mode
 
int gpu_device_id
 
int num_threads
 

Detailed Description

Configuration structure for Anonymizer state initialization.

This structure is used to configure and initialize the state of the Anonymizer. It includes settings for computation modes and the number of threads to use for processing.

Examples
example-buffers.cpp, and example-files.cpp.

Definition at line 108 of file Anonymizer.h.

Field Documentation

◆ computation_mode

ERComputationMode computation_mode

Computation mode (CPU/GPU), depending on the capabilities of the detection backend.

Examples
example-buffers.cpp, and example-files.cpp.

Definition at line 110 of file Anonymizer.h.

◆ gpu_device_id

int gpu_device_id

GPU device ID for detection. Only relevant if computation mode is set to GPU.

Examples
example-buffers.cpp, and example-files.cpp.

Definition at line 111 of file Anonymizer.h.

◆ num_threads

int num_threads

Number of threads used for CPU computation. Even in GPU mode, the remaining parts computed on CPU use num_threads.

Examples
example-buffers.cpp, and example-files.cpp.

Definition at line 112 of file Anonymizer.h.


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