Package boofcv.alg.fiducial.qrcode
Class QrCodeAlignmentPatternLocator<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCodeAlignmentPatternLocator<T>
Searches the image for alignment patterns. First it computes a transform that removes perspective distortion
using previously detected position patterns. Then it searches inside the image for the position patterns. If
available, adjacent position patterns are used to adjust the search so that locations distant from position
patterns can be compensated for.
NOTE: The current algorithm is a bit brittle and is a good target for further improvement. It has issues converging
when its initial guess is off.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanUses the previously detected position patterns to seed the search for the alignment patternsvoidsetLensDistortion(int width, int height, @Nullable LensDistortionNarrowFOV model)
-
Constructor Details
-
QrCodeAlignmentPatternLocator
-
-
Method Details
-
process
Uses the previously detected position patterns to seed the search for the alignment patterns -
setLensDistortion
public void setLensDistortion(int width, int height, @Nullable @Nullable LensDistortionNarrowFOV model)
-