public class DetectEngine extends FaceSdkNativePeer
Constructor and Description |
---|
DetectEngine(java.lang.String engineName,
InitConfig config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DetectionResult |
detect(Image image)
Detect faces from input image.
|
OptionalResult<DetectionResult>[] |
detectBatch(Image[] images)
Deprecated.
Using this method has no benefits compared to the usual
detect method. |
BoundingBox[] |
detectOnlyBoundingBox(Image image)
Detect faces bounding box from input image.
|
OptionalResult<BoundingBox[]>[] |
detectOnlyBoundingBoxBatch(Image[] images)
Deprecated.
Using this method has no benefits compared to the usual
detectOnlyBoundingBox method. |
close, equals, hashCode
public DetectEngine(java.lang.String engineName, InitConfig config)
engineName
- name of engine.config
- configuration of engine.public DetectionResult detect(Image image)
image
- image in FaceSDK format.@Deprecated public OptionalResult<DetectionResult>[] detectBatch(Image[] images)
detect
method.images
- input image batch.public BoundingBox[] detectOnlyBoundingBox(Image image)
image
- image in FaceSDK format.@Deprecated public OptionalResult<BoundingBox[]>[] detectOnlyBoundingBoxBatch(Image[] images)
detectOnlyBoundingBox
method.images
- input image batch.