public class OpenCVColorMesaurementModule extends AColorMesaurementModule implements ICameraListener
rcmodule| Constructor and Description |
|---|
OpenCVColorMesaurementModule() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getModuleInfo() |
java.lang.String |
getModuleVersion() |
void |
onNewFrame(Frame frame)
Called when a new frame (in jpeg) arrives
|
void |
onNewMat(org.opencv.core.Mat mat)
Called when a new frame (in OpenCV Mat format) arrives
|
void |
shutdown() |
void |
startup(com.mytechia.robobo.framework.RoboboManager manager) |
notifyColorMesaured, suscribe, unsuscribepublic void startup(com.mytechia.robobo.framework.RoboboManager manager)
throws com.mytechia.commons.framework.exception.InternalErrorException
startup in interface com.mytechia.robobo.framework.IModulecom.mytechia.commons.framework.exception.InternalErrorExceptionpublic void shutdown()
throws com.mytechia.commons.framework.exception.InternalErrorException
shutdown in interface com.mytechia.robobo.framework.IModulecom.mytechia.commons.framework.exception.InternalErrorExceptionpublic java.lang.String getModuleInfo()
getModuleInfo in interface com.mytechia.robobo.framework.IModulepublic java.lang.String getModuleVersion()
getModuleVersion in interface com.mytechia.robobo.framework.IModulepublic void onNewFrame(Frame frame)
ICameraListeneronNewFrame in interface ICameraListenerframe - The framepublic void onNewMat(org.opencv.core.Mat mat)
ICameraListeneronNewMat in interface ICameraListenermat - The frame