Iris detector configuration.
More...
#include <IrisDetector.h>
Iris detector configuration.
It is input for detection.
◆ Type
| enum class Type : uint8_t |
|
strong |
Type of neural network detector.
| Enumerator |
|---|
| ACCURATE | Neural network iris detector with very high accuracy.
It is slower than fast mode. - Required Solvers
Total size of solvers is 9 MB.
References iris-detector.solver
|
| FAST | The fastest iris detector is used when fast mode is used.
The speed performance of the iris detection is much better as when other modes are used. - Required Solvers
Total size of solvers is 627 kB.
References iris-detector-fast.solver
|
◆ Config()
Creates Default configuration.
The default configuration is:
- type - ACCURATE
- min detection size - 0.05
- max detection size - 0.95
References ACCURATE, and Config().
Referenced by Config(), and Default().
◆ Default()
Provides default configuration.
The default configuration is:
- type - ACCURATE
- min detection size - 0.05
- max detection size - 0.95
- Returns
- default configuration
References Config().
◆ GetDetector()
| Type GetDetector |
( |
| ) |
const |
|
inlinenodiscard |
Function gets detection type.
- Returns
- detection type
◆ GetMaxDetectionSize()
| float GetMaxDetectionSize |
( |
| ) |
const |
|
inlinenodiscard |
Function gets max detection size.
- Returns
- max detection size.
◆ GetMinDetectionSize()
| float GetMinDetectionSize |
( |
| ) |
const |
|
inlinenodiscard |
Function gets min detection size.
- Returns
- min detection size.
◆ SetDetector()
| void SetDetector |
( |
Type | value | ) |
|
|
inline |
Function sets type of detector.
- Parameters
-
◆ SetMaxDetectionSize()
| void SetMaxDetectionSize |
( |
float | value | ) |
|
|
inline |
Function sets max detection size.
It specifies maximal valid size of iris which is detectable in current detection mode. Iris size is given by the iris bounding box size in the image.
- Parameters
-
| value | In case of (0., 1> range, the value is taken with respect to maximum of image dimensions. Otherwise it is considered as size in pixels. |
◆ SetMinDetectionSize()
| void SetMinDetectionSize |
( |
float | value | ) |
|
|
inline |
Function sets min detection size.
It specifies minimal valid size of iris which is detectable in current detection mode. Iris size is given by the iris bounding box size in the image.
- Parameters
-
| value | In case of (0., 1> range, the value is taken with respect to maximum of image dimensions. Otherwise it is considered as size in pixels. |
◆ WriteTo()
| void WriteTo |
( |
Writer & | writer | ) |
const |
|
inlinefinalvirtual |
Function serializes configuration via provided Writer.
- Parameters
-
| writer | used to serialize Config. |
Implements Serializable.
The documentation for this class was generated from the following file: