OCRBlockResult

View as Markdown

Struct for describing the OCR result for an OCR block.

Full nameMFiles.OCRBlockResult
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
idint321Id of the OCR block. Negative value if there was no request block.
dimension_unitOCRBlockDimUnitType2Defines the unit of the block rectangle dimensions. Default is pixels.Values: OCRBLOCK_DIM_UNIT_TYPE_PIXELS (0), OCRBLOCK_DIM_UNIT_TYPE_MILLIMETERS_X10 (1), OCRBLOCK_DIM_UNIT_TYPE_INCHES_X100 (2).
leftuint323Distance from the left of the image.
topuint324Distance from the top of the image.
widthuint325Width of the block rectangle.
heightuint326Height of the block rectangle.
confidenceint327Confidence level (0 = most confident, 255 = least confident).
pageuint328One-based number of the page on which this result was recognized. 0 means no recognition.
valueTypedValue9The recognized value.

Used in fields