public final class EatDetector extends java.lang.Object implements IEatDetector
| 限定符和类型 | 类和说明 |
|---|---|
static class |
EatDetector.Face |
| 构造器和说明 |
|---|
EatDetector() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFaceData(EatDetector.Face face) |
EatDetector.Face |
getCurFace() |
android.graphics.PointF |
getCurrentMouthPosition() |
boolean |
hasEatAction() |
boolean |
isCloseToScreen() |
boolean |
isFaceTracked() |
boolean |
isWorking() |
void |
lostFaceTrack() |
void |
startDetect() |
void |
stopDetect() |
public void startDetect()
startDetect 在接口中 IEatDetectorpublic void stopDetect()
stopDetect 在接口中 IEatDetectorpublic boolean isWorking()
isWorking 在接口中 IEatDetectorpublic boolean isFaceTracked()
isFaceTracked 在接口中 IEatDetectorpublic void addFaceData(EatDetector.Face face)
addFaceData 在接口中 IEatDetectorpublic void lostFaceTrack()
lostFaceTrack 在接口中 IEatDetectorpublic boolean hasEatAction()
hasEatAction 在接口中 IEatDetectorpublic android.graphics.PointF getCurrentMouthPosition()
getCurrentMouthPosition 在接口中 IEatDetectorpublic boolean isCloseToScreen()
public EatDetector.Face getCurFace()