public class VisionControl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VisionControl.Config |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INTERVAL_IN_MS |
Modifier and Type | Method and Description |
---|---|
int |
cancelDetectPerson()
Cancel the running detect person process.
|
int |
requestDetectFace(VisionConfig.FaceDetectConfig config)
Request detect faces, and the result is returned by
RobotCallback.onDetectFaceResult(java.util.List).
|
int |
requestDetectPerson(float interval)
Deprecated.
|
int |
requestDetectPerson(int intervalInMS)
Request detect person, and the result is returned by
RobotCallback.onDetectPersonResult(java.util.List).
|
int |
requestDetectPerson(VisionConfig.PersonDetectConfig config)
Request detect a person, and the result is returned by
RobotCallback.onDetectFaceResult(java.util.List).
|
int |
requestGesturePoint(float timeout)
Deprecated.
|
int |
requestGesturePoint(int timeoutInMS)
Request gesture point, and the result is returned by
RobotCallback.onGesturePoint(com.asus.robotframework.API.results.GesturePointResult).
|
public static final int DEFAULT_INTERVAL_IN_MS
public int cancelDetectPerson()
public int requestDetectFace(VisionConfig.FaceDetectConfig config)
config
- Configuration of person detectionRobotCallback.onDetectFaceResult(List)
,
VisionConfig.FaceDetectConfig
@Deprecated public int requestDetectPerson(float interval)
interval
- desired interval in secondsRobotCallback.onDetectPersonResult(List)
,
VisionControl.requestDetectPerson(int)
public int requestDetectPerson(int intervalInMS)
intervalInMS
- desired interval in millisecondsRobotCallback.onDetectPersonResult(List)
public int requestDetectPerson(VisionConfig.PersonDetectConfig config)
config
- Configuration of person detectionRobotCallback.onDetectFaceResult(List)
,
VisionConfig.PersonDetectConfig
@Deprecated public int requestGesturePoint(float timeout)
timeout
- request timeout setting in secondsRobotCallback.onGesturePoint(GesturePointResult)
,
VisionControl.requestGesturePoint(int)
public int requestGesturePoint(int timeoutInMS)
timeoutInMS
- request timeout setting in millisecondsRobotCallback.onGesturePoint(GesturePointResult)