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
Modifier and TypeFieldDescriptionboolean
Should it consider a QR code which has been encoded with a transposed bit pattern? -
Constructor Summary
ConstructorDescriptionQrCodeDecoderImage
(@Nullable String forceEncoding, String defaultEncoding, Class<T> imageType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(List<PositionPatternNode> pps, T gray) Detects QR Codes inside image using position pattern graphvoid
setLensDistortion
(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 void
Transposes 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.
-