Package boofcv.alg.fiducial.qrcode
Class QrCodeDecoderImage<T extends ImageGray<T>>
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCodeDecoderImage<T>
Uses position pattern graph to find candidate QR Codes. From those it attempts to decode each QR Code.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanShould it consider a QR code which has been encoded with a transposed bit pattern? -
Constructor Summary
ConstructorsConstructorDescriptionQrCodeDecoderImage(@Nullable String forceEncoding, String defaultEncoding, Class<T> imageType) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(List<PositionPatternNode> pps, T gray) Detects QR Codes inside image using position pattern graphvoidsetLensDistortion(int width, int height, @Nullable LensDistortionNarrowFOV model) Specifies transforms which can be used to change coordinates from distorted to undistorted and the opposite coordinates.static voidTransposes the order of corners in the quadrilateral
-
Field Details
-
considerTransposed
public boolean considerTransposedShould it consider a QR code which has been encoded with a transposed bit pattern?- See Also:
-
-
Constructor Details
-
Method Details
-
process
Detects QR Codes inside image using position pattern graph- Parameters:
pps- position pattern graphgray- Gray input image
-
transposeCorners
Transposes the order of corners in the quadrilateral -
setLensDistortion
public void setLensDistortion(int width, int height, @Nullable @Nullable LensDistortionNarrowFOV model) Specifies transforms which can be used to change coordinates from distorted to undistorted and the opposite coordinates. The undistorted image is never explicitly created.
- Parameters:
width- Input image width. Used in sanity check only.height- Input image height. Used in sanity check only.model- distortion model. Null to remove a distortion model.
-