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, hashCodepublic DetectEngine(java.lang.String engineName,
InitConfig config)
engineName - name of engine.config - configuration of engine.FaceException - if the provided engine name is invalid or null argument passed.public DetectionResult detect(Image image)
image - image in FaceSDK format.FaceException - if null argument passed.@Deprecated public OptionalResult<DetectionResult>[] detectBatch(Image[] images)
detect method.images - input image batch.FaceException - if null argument passed.public BoundingBox[] detectOnlyBoundingBox(Image image)
image - image in FaceSDK format.FaceException - if null argument passed.@Deprecated public OptionalResult<BoundingBox[]>[] detectOnlyBoundingBoxBatch(Image[] images)
detectOnlyBoundingBox method.images - input image batch.FaceException - if null argument passed.