Note
This API is still in beta and may change in future versions of Scandit Data Capture SDK.
Scanned Text
Defined in package com.scandit.datacapture.usi.capture.component.text
- ScannedText
class ScannedText : ScannedComponent
Added in version 8.0.0
A scanned text component in the item-based scanning APIs. This class represents detected and recognized text with its associated location and identification information.
ScannedText implements the ScannedComponent protocol, providing a unique identifier and location information, along with the recognized text content.
- definitionIdentifier
@NonNull TextIdentifier getDefinitionIdentifier()
Added in version 8.0.0
The unique identifier for the definition of this text component.
- identifier
@NonNull ScannedComponentIdentifier getIdentifier()
Added in version 8.0.0
The unique identifier for this instance of the text component.
- location
@NonNull Quadrilateral getLocation()
Added in version 8.0.0
The location of the text in the image as a quadrilateral.