DocSDK  2.4.1
docsdk::LivenessCheckOptions Struct Reference

Configurable options used for document liveness check. More...

#include <liveness_pipeline.h>

Public Types

enum  Calibration { Calibration::kRegular, Calibration::kSoft, Calibration::kHard }
 Score/threshold calibration to be used. More...
 

Data Fields

std::vector< LivenessPipelineResult::ValidationStatusCodeerrors_to_ignore
 Defines which validation errors should be ignored during the liveness check. More...
 
Calibration calibration = Calibration::kRegular
 Score/threshold calibration to be used for document liveness check. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const LivenessCheckOptions &options)
 

Detailed Description

Configurable options used for document liveness check.

Member Enumeration Documentation

◆ Calibration

Score/threshold calibration to be used.

Enumerator
kRegular 

Regular calibration, targets low APCER

kSoft 

Soft calibration, achieves lower BPCER while still having acceptable APCER

kHard 

Hard calibration, achieves lower APCER while still having acceptable BPCER

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const LivenessCheckOptions options 
)
friend

Field Documentation

◆ calibration

Calibration docsdk::LivenessCheckOptions::calibration = Calibration::kRegular

Score/threshold calibration to be used for document liveness check.

◆ errors_to_ignore

std::vector<LivenessPipelineResult::ValidationStatusCode> docsdk::LivenessCheckOptions::errors_to_ignore

Defines which validation errors should be ignored during the liveness check.


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