public interface VideoCallBack<T extends boofcv.struct.image.ImageBase>
| Modifier and Type | Method and Description |
|---|---|
void |
init(int width,
int height,
boofcv.struct.image.ImageType<T> imageType)
Called when the camera has been initialized and the image properties are known.
|
void |
nextFrame(T frame,
java.lang.Object sourceData,
long timeStamp)
Passes in the next frame in the sequence.
|
void |
stopped()
Called when the video stream has stopped.
|
boolean |
stopRequested()
Used to inform the video stream if a request has been made to stop processing the video sequence.
|
void init(int width,
int height,
boofcv.struct.image.ImageType<T> imageType)
void nextFrame(T frame, java.lang.Object sourceData, long timeStamp)
frame - New image frame in BoofCV image format.sourceData - Platform specific image data.timeStamp - Time the video frame was collected.void stopped()
boolean stopRequested()
nextFrame(boofcv.struct.image.ImageBase,Object, long).