iris.nodes.encoder package¶
Submodules¶
iris.nodes.encoder.iris_encoder module¶
- class iris.nodes.encoder.iris_encoder.IrisEncoder(mask_threshold: float = 0.9, callbacks: List[Callback] = [])[source]¶
Bases:
Algorithm
Binarize IrisFilterResponse to generate iris code using Daugman’s method.
- Algorithm steps:
Binarize iris response by comparing real and imaginary parts to zero.
Binarize mask response by comparing real and imaginary parts to a given parameter: mask_threshold.
- Reference:
- class Parameters(*, mask_threshold: ConstrainedFloatValue)[source]¶
Bases:
Parameters
IrisEncoder parameters.
- mask_threshold: float¶
- run(response: IrisFilterResponse) IrisTemplate [source]¶
Encode iris code and mask code.
- Parameters:
response (IrisFilterResponse) – Filter responses.
- Returns:
Final iris template.
- Return type: