public class Pipeline extends FaceSdkNativePeer
Constructor and Description |
---|
Pipeline(java.lang.String pipelineName,
InitConfig config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PipelineResult |
checkLiveness(Image image) |
PipelineResult |
checkLiveness(ImageBatch imageBatch) |
PipelineResult |
checkLiveness(ImageBatch imageBatch,
Meta meta)
Perform liveness check on a sequence of photos (image batch).
|
PipelineResult |
checkLiveness(Image image,
Meta meta)
Check liveness of face from input image.
|
OptionalResult<PipelineResult>[] |
checkLivenessBatch(Image[] images)
Deprecated.
Using this method has no benefits compared to the usual
checkLiveness
method. |
OptionalResult<PipelineResult>[] |
checkLivenessBatch(Image[] images,
Meta[] meta)
Deprecated.
Using this method has no benefits compared to the usual
checkLiveness
method. |
close, equals, hashCode
public Pipeline(java.lang.String pipelineName, InitConfig config)
pipelineName
- name of pipeline.config
- configuration of pipeline.public PipelineResult checkLiveness(Image image, Meta meta)
image
- image in FaceSDK format to check.meta
- meta information provided for FaceSDK calibration.public PipelineResult checkLiveness(Image image)
public PipelineResult checkLiveness(ImageBatch imageBatch, Meta meta)
imageBatch
- input batch of images (a sequence of photos).meta
- meta information provided for FaceSDK calibration.public PipelineResult checkLiveness(ImageBatch imageBatch)
@Deprecated public OptionalResult<PipelineResult>[] checkLivenessBatch(Image[] images, Meta[] meta)
checkLiveness
method.images
- input image batch.meta
- meta information provided for FaceSDK calibration.@Deprecated public OptionalResult<PipelineResult>[] checkLivenessBatch(Image[] images)
checkLiveness
method.