vivalib library
Concurrent C++11 OpenCV library for Computer Vision applications
|
#include <viva.h>
Public Member Functions | |
BatchProcessFrame (const size_t count=10) | |
virtual size_t | batchProcessSize () |
virtual void | operator() (size_t frameN, const vector< Mat > &frames, Mat &output) |
virtual void | mouseInput (int event, int x, int y, int flags) |
virtual void | leftButtonDown (int x, int y, int flags) |
virtual void | rightButtonDown (int x, int y, int flags) |
virtual void | middleButtonDown (int x, int y, int flags) |
virtual void | mouseMove (int x, int y, int flags) |
virtual void | keyboardInput (int key) |
Protected Attributes | |
size_t | _count |
Batch Process Frame. Process batchs of specific size from the input at once.
|
inlinevirtual |
It will be called only when the user stroke a keyboard key
key | the value of the pressed key |
Reimplemented from viva::KeyboardListener.
|
inlinevirtual |
It will be called only when a mouse left click is triggered
Reimplemented from viva::MouseListener.
|
inlinevirtual |
It will be called only when a mouse middle click is triggered
Reimplemented from viva::MouseListener.
|
inlinevirtual |
Will be triggered at any mouse event, the type of the event is especified in the first integer
event. | event could be one of the following OpenCV values EVENT_LBUTTONDOWN, EVENT_RBUTTONDOWN, EVENT_MBUTTONDOWN, EVENT_MOUSEMOVE. |
x | the x coordinates of the mouse cursor |
y | the y coordinates of the mouse cursor |
flgas | the flags passed from OpenCV |
Reimplemented from viva::MouseListener.
|
inlinevirtual |
It will be called only when a mouse move is triggered.
Reimplemented from viva::MouseListener.
|
inlinevirtual |
It will be called only when a right left click is triggered
Reimplemented from viva::MouseListener.