#include <objdetect.hpp>
Public Member Functions | |
CV_WRAP | Params () |
Public Attributes | |
CV_PROP_RW float | minModuleSizeInPyramid |
The minimum allowed pixel size of a QR module in the smallest image in the image pyramid, default 4.f. More... | |
CV_PROP_RW float | maxRotation |
The maximum allowed relative rotation for finder patterns in the same QR code, default pi/12. More... | |
CV_PROP_RW float | maxModuleSizeMismatch |
The maximum allowed relative mismatch in module sizes for finder patterns in the same QR code, default 1.75f. More... | |
CV_PROP_RW float | maxTimingPatternMismatch |
The maximum allowed module relative mismatch for timing pattern module, default 2.f. More... | |
CV_PROP_RW float | maxPenalties |
The maximum allowed percentage of penalty points out of total pins in timing pattern, default 0.4f. More... | |
CV_PROP_RW float | maxColorsMismatch |
The maximum allowed relative color mismatch in the timing pattern, default 0.2f. More... | |
CV_PROP_RW float | scaleTimingPatternScore |
The algorithm find QR codes with almost minimum timing pattern score and minimum size, default 0.9f. More... | |
CV_WRAP cv::QRCodeDetectorAruco::Params::Params | ( | ) |
CV_PROP_RW float cv::QRCodeDetectorAruco::Params::maxColorsMismatch |
The maximum allowed relative color mismatch in the timing pattern, default 0.2f.
CV_PROP_RW float cv::QRCodeDetectorAruco::Params::maxModuleSizeMismatch |
The maximum allowed relative mismatch in module sizes for finder patterns in the same QR code, default 1.75f.
CV_PROP_RW float cv::QRCodeDetectorAruco::Params::maxPenalties |
The maximum allowed percentage of penalty points out of total pins in timing pattern, default 0.4f.
CV_PROP_RW float cv::QRCodeDetectorAruco::Params::maxRotation |
The maximum allowed relative rotation for finder patterns in the same QR code, default pi/12.
CV_PROP_RW 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.
CV_PROP_RW 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.
CV_PROP_RW 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.