Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android ML Kit detection area

I downloaded the ML Kit sample code for Android and i'm having a hard time to go about setting a limited detection area for the live camera detection (I'm only interested in text recognition, i got rid of everything else).

I need to limit the text recognition to only a part of the screen (say, a tiny rectangle or square in the center of the screen). Has anyone done such a workaround with ML kit?

like image 985
F_Bass Avatar asked Apr 21 '26 15:04

F_Bass


1 Answers

Please take a look at the ML Kit Translate Showcase App which shows how to limit Text recognition to a specific section of the screen.

like image 56
Chrisito Avatar answered Apr 23 '26 05:04

Chrisito



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!