|
DocSDK
2.4.1
|
Document liveness checking pipeline. More...
#include <liveness_pipeline.h>
Public Types | |
| using | Ptr = std::shared_ptr< LivenessPipeline > |
Public Member Functions | |
| virtual LivenessPipelineResult | CheckLiveness (Image::Ptr image, const LivenessCheckOptions &options={}) const =0 |
| virtual LivenessPipelineResult | CheckLivenessSequence (const std::vector< Image::Ptr > &images, const LivenessCheckOptions &options={}) const =0 |
| virtual | ~LivenessPipeline () noexcept=default |
Static Public Member Functions | |
| static Ptr | Create (const std::string &path_to_config) |
Document liveness checking pipeline.
| using docsdk::LivenessPipeline::Ptr = std::shared_ptr<LivenessPipeline> |
|
virtualdefaultnoexcept |
|
pure virtual |
Checks liveness using the provided document photo.
| image | Image containing the photo of document |
| options | Optional liveness check options |
| std::runtime_error | |
| docsdk::LicenseException |
|
pure virtual |
Performs liveness check using a sequence of photos (e.g. taken from video) producing a single aggregated liveness checking result.
| images | Photo sequence |
| options | Optional liveness check options |
| std::runtime_error | |
| docsdk::LicenseException |
|
static |
Liveness pipeline factory method.
| path_to_config | Path to liveness pipeline configuration file |
| std::runtime_error | |
| docsdk::LicenseException |