mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

Confidence Property has been removed

Open pranav-vempati opened this issue 3 years ago • 1 comments

I'm currently trying to migrate a codebase from Firebase-MLKit to Google-MLKit. The Firebase API exposes a confidence score associated with each TextBlock. This has been excised from the new API, however, according to the migration guide:

Screen Shot 2021-07-04 at 3 28 13 PM

Does Google-MLKit offer an equivalent class that exposes this confidence property? If not, is there a known and viable workaround to this issue?

pranav-vempati avatar Jul 04 '21 22:07 pranav-vempati

@pranav-vempati For the on-device ML Kit Text Recognition API we never returned the confidence value (see here). The Cloud Text Recognition API (still offered through Firebase, see here still provides it.

chrisito avatar Jul 13 '21 18:07 chrisito

@chrisito I can still access reference on Text.Line. Is this added after your answer or was it just misunderstanding?

mecoFarid avatar Mar 07 '23 14:03 mecoFarid