Loads an image sequence stored in a dedicated folder. UUID: b8a8b963-ba55-4ea4-b045-d9e7e8f6db02
More...
#include <SolARImagesAsCameraOpencv.h>
|
FrameworkReturnCode | start () override |
| Start the Images acquisition. More...
|
|
FrameworkReturnCode | getNextImage (SRef< datastructure::Image > &img) override |
|
void | unloadComponent () override final |
|
| SolARBaseCameraOpencv (const org::bcom::xpcf::uuids::uuid &uuid) |
|
org::bcom::xpcf::XPCFErrorCode | onConfigured () override final |
|
FrameworkReturnCode | stop () override |
| Stop the acquisition device. More...
|
|
void | setResolution (const datastructure::Sizei &resolution) override |
| Set the size of the grabbed image from the camera. [in] resolution: the width and height of the output grabbed image.
|
|
void | setIntrinsicParameters (const datastructure::CamCalibration &intrinsic_parameters) override |
| Set the camera intrinsic parameters from a calibration matrix. [in] intrinsic_parameters: Calibration matrix containing the nine camera calibration parameters.
|
|
void | setDistortionParameters (const datastructure::CamDistortion &distortion_parameters) override |
| Set the camera distortion parameters from a distortion matrix. [in] distortion_parameters: distortion matrix containing the five camera distortion parameters.
|
|
void | setParameters (const datastructure::CameraParameters ¶meters) override |
| Set the camera parameters.
|
|
const datastructure::CameraParameters & | getParameters () const override |
|
datastructure::Sizei | getResolution () const override |
| Get the current resolutio nof the camera. [out] width and height of the images grabbed from the camera.
|
|
const datastructure::CamCalibration & | getIntrinsicsParameters () const override |
| Get the current camera calibration parameters. [out] Calibration matrix containing the nine camera calibration parameters.
|
|
const datastructure::CamDistortion & | getDistortionParameters () const override |
| Get the current camera distortion parameters. [out] distortion matrix containing the five camera distortion parameters.
|
|
void | unloadComponent () override |
|
|
std::string | m_calibrationFile = "" |
| Path to the calibration file of the camera.
|
|
cv::VideoCapture | m_capture |
|
bool | m_is_resolution_set |
|
datastructure::CameraParameters | m_parameters |
|
Loads an image sequence stored in a dedicated folder. UUID: b8a8b963-ba55-4ea4-b045-d9e7e8f6db02
- Properties
imagesDirectoryPath | Path to the images which will be used as a camera capture |
type: string; default: "" |
delayTime | time delay camera between two images |
type: int; range : [0..MAX INT]; default: 30 |
◆ start()
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARImagesAsCameraOpencv::start |
( |
| ) |
|
|
override |
Start the Images acquisition.
- Returns
- FrameworkReturnCode::SUCCESS if sucessful, eiher FrameworkRetunrnCode::_ERROR.
The documentation for this class was generated from the following file: