QRCodeDetectorAruco_Params
import { QRCodeDetectorAruco_Params } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
qrcode detector aruco params value in the OpenCV API.
Constructors and members
static new
Create an owned QRCodeDetectorAruco_Params object. Release native handles with using or delete().
new(): QRCodeDetectorAruco_Params;The QRCodeDetectorAruco_Params result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
minModuleSizeInPyramid
The minimum allowed pixel size of a QR module in the smallest image in the image pyramid, default 4.f
minModuleSizeInPyramid: number;maxRotation
The maximum allowed relative rotation for finder patterns in the same QR code, default pi/12
maxRotation: number;maxModuleSizeMismatch
The maximum allowed relative mismatch in module sizes for finder patterns in the same QR code, default 1.75f
maxModuleSizeMismatch: number;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.
maxTimingPatternMismatch: number;maxPenalties
The maximum allowed percentage of penalty points out of total pins in timing pattern, default 0.4f
maxPenalties: number;maxColorsMismatch
The maximum allowed relative color mismatch in the timing pattern, default 0.2f
maxColorsMismatch: number;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.
scaleTimingPatternScore: number;These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.