Package-level declarations

Types

Link copied to clipboard

A class for detecting barcodes in images using ML Kit.

Link copied to clipboard
data class FormXBarcodeRegion(val image: Bitmap, val topLeft: FormXPointF, val topRight: FormXPointF, val bottomRight: FormXPointF, val bottomLeft: FormXPointF, val boundingBox: FormXRectF, val data: String, val type: FormXBarcodeType)

Represents a region containing a barcode in an image.

Link copied to clipboard

Represents the types of barcodes that can be detected.

Link copied to clipboard
class FormXBlurDetector(threshold: Float = DEFAULT_BLUR_THRESHOLD)
Link copied to clipboard

FormX Document Detector

Link copied to clipboard
data class FormXDocumentDetectorResult(val region: FormXDocumentRegion?, val transform: OutputTransform, var sourceImage: Bitmap)

FormX Document Detector Result

Link copied to clipboard

FormXImageProc provides image processing methods

Link copied to clipboard

FormXStabilizer stabilizes the FormXDocumentRegion returned from FormXDocumentDetector to prevent shaking. It also filters out the invalid FormXDocumentRegion.

Link copied to clipboard

The state of the FormXStabilizer

Link copied to clipboard

Properties

Link copied to clipboard
const val DEFAULT_BLUR_THRESHOLD: Float = 12.0f

The default threshold for blur detection

Link copied to clipboard

The default background color of the Image returned by the FormXImageProc.cropBoundingBox