Class for initialising a Camera object and capturing frames.
More...
#include <Camera.h>
Class for initialising a Camera object and capturing frames.
◆ Camera()
Camera::Camera |
( |
int |
camIdx = 0 , |
|
|
double |
res_w = 640 , |
|
|
double |
res_h = 480 |
|
) |
| |
Construct a new Camera:: Camera object.
- Parameters
-
camIdx | Defaults to 0. If multiple cameras present can be used to define which one to be used with the old stack. |
res_w | Defaults to 640. Camera resolution (width) |
res_h | Defaults to 480. Camera resolution (width) |
◆ ~Camera()
◆ getErr()
Get latest Error Code.
- Returns
- int, return enum Err_type error code
◆ registerCallback()
Register a Callback for the Camera Class.
- Parameters
-
◆ startRecording()
void Camera::startRecording |
( |
| ) |
|
Method call to start the camera recording thread.
◆ stopRecording()
void Camera::stopRecording |
( |
| ) |
|
Method call to stop the camera recording thread Call when exiting the programme.
◆ unregisterCallback()
void Camera::unregisterCallback |
( |
| ) |
|
Unregister existing callback.
◆ camApi
◆ camIdx
◆ isOn
bool Camera::isOn = false |
The documentation for this class was generated from the following files: