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(float interval)
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(float timeout)
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(float interval)
interval - desired interval (in seconds)RobotCallback.onDetectPersonResult(List)public int requestDetectPerson(VisionConfig.PersonDetectConfig config)
config - Configuration of person detectionRobotCallback.onDetectFaceResult(List)public int requestGesturePoint(float timeout)
timeout - request timeout setting (in seconds)RobotCallback.onGesturePoint(GesturePointResult)