public class VisionControl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VisionControl.Config |
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 onDetectFaceResult().
|
int |
requestDetectPerson(int intervalInMS)
Request detect person, and the result is returned by onDetectPersonResult().
|
int |
requestDetectPerson(VisionConfig.PersonDetectConfig config)
Request detect a person, and the result is returned by onDetectPersonResult().
|
int |
requestGesturePoint(int timeoutInMS)
Request gesture point, and the result is returned by onGesturePoint().
|
public int cancelDetectPerson()
public int requestDetectFace(VisionConfig.FaceDetectConfig config)
config
- Configuration of person detectionRobotCallback.onDetectPersonResult(List)
public int requestDetectPerson(int intervalInMS)
intervalInMS
- desired interval (in millisecond)RobotCallback.onDetectPersonResult(List)
public int requestDetectPerson(VisionConfig.PersonDetectConfig config)
config
- Configuration of person detectionRobotCallback.onDetectFaceResult(List)
public int requestGesturePoint(int timeoutInMS)
timeoutInMS
- request timeout setting (in millisecond)RobotCallback.onGesturePoint(GesturePointResult)