struct RefineParameters is used by ArucoDetector More...
#include <aruco_detector.hpp>
Public Member Functions | |
CV_WRAP | RefineParameters (float minRepDistance=10.f, float errorCorrectionRate=3.f, bool checkAllOrders=true) |
CV_WRAP bool | readRefineParameters (const FileNode &fn) |
Read a new set of RefineParameters from FileNode (use FileStorage.root()). More... | |
CV_WRAP bool | writeRefineParameters (FileStorage &fs, const String &name=String()) |
Write a set of RefineParameters to FileStorage. More... | |
Public Attributes | |
CV_PROP_RW float | minRepDistance |
minRepDistance minimum distance between the corners of the rejected candidate and the reprojected marker in order to consider it as a correspondence. More... | |
CV_PROP_RW float | errorCorrectionRate |
errorCorrectionRate rate of allowed erroneous bits respect to the error correction capability of the used dictionary. More... | |
CV_PROP_RW bool | checkAllOrders |
checkAllOrders consider the four posible corner orders in the rejectedCorners array. More... | |
struct RefineParameters is used by ArucoDetector
CV_WRAP cv::aruco::RefineParameters::RefineParameters | ( | float | minRepDistance = 10.f , |
float | errorCorrectionRate = 3.f , |
||
bool | checkAllOrders = true |
||
) |
Read a new set of RefineParameters from FileNode (use FileStorage.root()).
CV_WRAP bool cv::aruco::RefineParameters::writeRefineParameters | ( | FileStorage & | fs, |
const String & | name = String() |
||
) |
Write a set of RefineParameters to FileStorage.
CV_PROP_RW bool cv::aruco::RefineParameters::checkAllOrders |
checkAllOrders consider the four posible corner orders in the rejectedCorners array.
If it set to false, only the provided corner order is considered (default true).
CV_PROP_RW float cv::aruco::RefineParameters::errorCorrectionRate |
errorCorrectionRate rate of allowed erroneous bits respect to the error correction capability of the used dictionary.
-1 ignores the error correction step.
CV_PROP_RW float cv::aruco::RefineParameters::minRepDistance |
minRepDistance minimum distance between the corners of the rejected candidate and the reprojected marker in order to consider it as a correspondence.