Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARMultiQRCodesPoseEstimatorOpencv Class Reference

Estimate camera pose based on a set of QR codes. UUID: 73e66f7f-be35-4d76-97f2-ef864e043d57 More...

#include <SolARMultiQRCodesPoseEstimatorOpencv.h>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARMultiQRCodesPoseEstimatorOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARMultiQRCodesPoseEstimatorOpencv:
Collaboration graph
[legend]

Public Member Functions

 SolARMultiQRCodesPoseEstimatorOpencv ()
 SolARMultiQRCodesPoseEstimatorOpencv constructor;.
 
 ~SolARMultiQRCodesPoseEstimatorOpencv ()=default
 SolARMultiQRCodesPoseEstimatorOpencv destructor;.
 
void setCameraParameters (const SolAR::datastructure::CamCalibration &intrinsicParams, const SolAR::datastructure::CamDistortion &distorsionParams) override
 this method is used to set intrinsic parameters and distorsion of the camera More...
 
FrameworkReturnCode setTrackables (const std::vector< SRef< SolAR::datastructure::Trackable > > trackables) override
 this method is used to set the trackables used to estimate the pose. More...
 
FrameworkReturnCode estimate (const SRef< SolAR::datastructure::Image > image, SolAR::datastructure::Transform3Df &pose) override
 Estimates camera pose based on a set of QR codes. More...
 
void unloadComponent () override final
 

Detailed Description

Estimate camera pose based on a set of QR codes. UUID: 73e66f7f-be35-4d76-97f2-ef864e043d57

Injectables
SolAR::api::features::IMultiTrackablesPose
SolAR::api::solver::pose::I3DTransformFinderFrom2D3D
SolAR::api::geom::IProject
Properties
maxReprojError
type: float; range : [0..MAX FLOAT]; default: 1.0

Member Function Documentation

◆ estimate()

FrameworkReturnCode SolAR::MODULES::OPENCV::SolARMultiQRCodesPoseEstimatorOpencv::estimate ( const SRef< SolAR::datastructure::Image >  image,
SolAR::datastructure::Transform3Df &  pose 
)
override

Estimates camera pose based on a set of QR codes.

Parameters
[in]imageinput image.
[out]posecamera pose.
Returns
FrameworkReturnCode::SUCCESS if the estimation succeed, else FrameworkReturnCode::_ERROR

◆ setCameraParameters()

void SolAR::MODULES::OPENCV::SolARMultiQRCodesPoseEstimatorOpencv::setCameraParameters ( const SolAR::datastructure::CamCalibration &  intrinsicParams,
const SolAR::datastructure::CamDistortion &  distorsionParams 
)
override

this method is used to set intrinsic parameters and distorsion of the camera

Parameters
[in]Cameracalibration matrix parameters.
[in]Cameradistorsion parameters.

◆ setTrackables()

FrameworkReturnCode SolAR::MODULES::OPENCV::SolARMultiQRCodesPoseEstimatorOpencv::setTrackables ( const std::vector< SRef< SolAR::datastructure::Trackable > >  trackables)
override

this method is used to set the trackables used to estimate the pose.

Parameters
[in]trackablesthe set of trackables used to estimate the pose.

The documentation for this class was generated from the following file: