package Ġcom . ac ash . google len scl one . text recognition Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . camera . core . Image Analysis Ċ import Ġandroidx . core . content . Context Compat Ċ import Ġcom . ac ash . google len scl one . Base Lens Activity Ċ Ċ class ĠText Recognition Activity Ġ: ĠBase Lens Activity () Ġ{ ĊĠĠĠ Ġoverride Ġval Ġimage Analyzer Ġ= ĠText Analyzer ( this ) ĊĊĠĠĠ Ġoverride Ġfun Ġstart Scanner () Ġ{ ĊĠĠĠĠĠĠ Ġrecognize Text () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġrecognize Text () Ġ{ ĊĠĠĠĠĠĠĠ Ġimage Analysis . set Analyzer ( Context Compat . get Main Executor ( this ), image Analyzer ) ĊĠĠĠ Ġ} Ċ }