Compose Camera LogoCompose Camera
PluginsMLKit Text

TextRecognizer

API reference for TextRecognizer class.

TextRecognizer

The main plugin class for text recognition.

expect class TextRecognizer : CameraPlugin {
    val text: StateFlow<TextResult?>
}

Properties

PropertyTypeDescription
textStateFlow<TextResult?>A flow emitting the TextResult for the current frame, or null if no text was detected.

On this page