OpenCV
4.10.0-dev
Open Source Computer Vision
|
#include <opencv2/objdetect.hpp>
Public Member Functions | |
Params () | |
Public Attributes | |
float | maxColorsMismatch |
The maximum allowed relative color mismatch in the timing pattern, default 0.2f. | |
float | maxModuleSizeMismatch |
The maximum allowed relative mismatch in module sizes for finder patterns in the same QR code, default 1.75f. | |
float | maxPenalties |
The maximum allowed percentage of penalty points out of total pins in timing pattern, default 0.4f. | |
float | maxRotation |
The maximum allowed relative rotation for finder patterns in the same QR code, default pi/12. | |
float | maxTimingPatternMismatch |
The maximum allowed module relative mismatch for timing pattern module, default 2.f. | |
float | minModuleSizeInPyramid |
The minimum allowed pixel size of a QR module in the smallest image in the image pyramid, default 4.f. | |
float | scaleTimingPatternScore |
The algorithm find QR codes with almost minimum timing pattern score and minimum size, default 0.9f. | |
cv::QRCodeDetectorAruco::Params::Params | ( | ) |
float cv::QRCodeDetectorAruco::Params::maxColorsMismatch |
The maximum allowed relative color mismatch in the timing pattern, default 0.2f.
float cv::QRCodeDetectorAruco::Params::maxModuleSizeMismatch |
The maximum allowed relative mismatch in module sizes for finder patterns in the same QR code, default 1.75f.
float cv::QRCodeDetectorAruco::Params::maxPenalties |
The maximum allowed percentage of penalty points out of total pins in timing pattern, default 0.4f.
float cv::QRCodeDetectorAruco::Params::maxRotation |
The maximum allowed relative rotation for finder patterns in the same QR code, default pi/12.
float cv::QRCodeDetectorAruco::Params::maxTimingPatternMismatch |
The maximum allowed module relative mismatch for timing pattern module, default 2.f.
If relative mismatch of timing pattern module more this value, penalty points will be added. If a lot of penalty points are added, QR code will be rejected.
float cv::QRCodeDetectorAruco::Params::minModuleSizeInPyramid |
The minimum allowed pixel size of a QR module in the smallest image in the image pyramid, default 4.f.
float cv::QRCodeDetectorAruco::Params::scaleTimingPatternScore |
The algorithm find QR codes with almost minimum timing pattern score and minimum size, default 0.9f.
The QR code with the minimum "timing pattern score" and minimum "size" is selected as the best QR code. If for the current QR code "timing pattern score" * scaleTimingPatternScore < "previous timing pattern score" and "size" < "previous size", then current QR code set as the best QR code.