DocSDK
2.4.1
|
Document liveness checking pipeline composition. More...
#include <liveness_pipeline.h>
Public Types | |
using | Ptr = std::shared_ptr< LivenessPipelineComposition > |
Public Member Functions | |
virtual std::unordered_map< std::string, LivenessPipelineResult > | CheckLiveness (Image::Ptr image, const std::unordered_map< std::string, LivenessCheckOptions > &options={}) const =0 |
virtual | ~LivenessPipelineComposition () noexcept=default |
Static Public Member Functions | |
static Ptr | Create (const std::vector< std::string > &paths_to_configs) |
Document liveness checking pipeline composition.
using docsdk::LivenessPipelineComposition::Ptr = std::shared_ptr<LivenessPipelineComposition> |
|
virtualdefaultnoexcept |
|
pure virtual |
Checks liveness using the provided document photo.
image | Image containing the photo of document |
options | Optional liveness check options. If empty all pipelines in composition are run, otherwise only pipelines in options are run |
std::runtime_error | |
docsdk::LicenseException |
|
static |
Pipeline composition factory method.
paths_to_configs | Paths to liveness pipeline configuration files to use in composition |
std::runtime_error | |
docsdk::LicenseException |