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

Estimate camera pose based on a QR code. UUID: 7cd9c6ea-9287-4058-9e18-c64129c017c8 More...

#include <SolARQRCodePoseEstimatorOpencv.h>

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

Public Member Functions

 SolARQRCodePoseEstimatorOpencv ()
 SolARQRCodePoseEstimatorOpencv constructor;.
 
 ~SolARQRCodePoseEstimatorOpencv ()=default
 SolARQRCodePoseEstimatorOpencv 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 setTrackable (const SRef< SolAR::datastructure::Trackable > trackable) override
 this method is used to set the trackable 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 fiducial marker. More...
 
void unloadComponent () override final
 

Detailed Description

Estimate camera pose based on a QR code. UUID: 7cd9c6ea-9287-4058-9e18-c64129c017c8

Injectables
SolAR::api::image::IImageConvertor
SolAR::api::solver::pose::I3DTransformFinderFrom2D3D
SolAR::api::features::ICornerRefinement
SolAR::api::geom::IProject
Properties
maxReprojError
type: float; range : [0..MAX FLOAT]; default: 0.5

Member Function Documentation

◆ estimate()

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

Estimates camera pose based on a fiducial marker.

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

◆ setCameraParameters()

void SolAR::MODULES::OPENCV::SolARQRCodePoseEstimatorOpencv::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.

◆ setTrackable()

FrameworkReturnCode SolAR::MODULES::OPENCV::SolARQRCodePoseEstimatorOpencv::setTrackable ( const SRef< SolAR::datastructure::Trackable >  trackable)
override

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

Parameters
[in]thetrackable used to estimate the pose.

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