mlkit
mlkit copied to clipboard
Confidence Property has been removed
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](https://user-images.githubusercontent.com/12287058/124401120-8e1b4600-dcdc-11eb-8d39-1c66172aa1cf.png)
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 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 I can still access reference
on Text.Line
. Is this added after your answer or was it just misunderstanding?