public abstract class AFaceDetectionModule extends java.lang.Object implements IFaceDetectionModule
| Modifier and Type | Field and Description |
|---|---|
protected com.mytechia.robobo.framework.remote_control.remotemodule.IRemoteControlModule |
rcmodule |
| Constructor and Description |
|---|
AFaceDetectionModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
notifyFace(android.graphics.PointF coords,
float eyesDistance)
Notifies the listeners when a face is detected
|
protected void |
notifyFaceAppear(android.graphics.PointF coords,
float eyesDistance) |
protected void |
notifyFaceDisappear() |
void |
suscribe(IFaceListener listener)
Suscribes a listener to the face detected notifications
|
void |
unsuscribe(IFaceListener listener)
Unsuscribes a listener from the face detected notifications
|
protected com.mytechia.robobo.framework.remote_control.remotemodule.IRemoteControlModule rcmodule
protected void notifyFace(android.graphics.PointF coords,
float eyesDistance)
coords - The coordinates of the center of the faceeyesDistance - The distance between eyesprotected void notifyFaceAppear(android.graphics.PointF coords,
float eyesDistance)
protected void notifyFaceDisappear()
public void suscribe(IFaceListener listener)
IFaceDetectionModulesuscribe in interface IFaceDetectionModulelistener - The listener to be addedpublic void unsuscribe(IFaceListener listener)
IFaceDetectionModuleunsuscribe in interface IFaceDetectionModulelistener - The listener to be removed