Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FirebaseMLVisionTextModel has been deprecated in favor of MLKitTextRecognition

I am using Firebase MLKit TextRecognition API. There is a warning when trying to update 'pod Firebase/MLVisionTextModel'. How to update Firebase MLKit library?

[!] FirebaseMLVisionTextModel has been deprecated in favor of MLKitTextRecognition

like image 922
Omer Faruk Ozturk Avatar asked Nov 07 '25 16:11

Omer Faruk Ozturk


1 Answers

Firebase on-device APIs have moved under GoogleMLKit.

On June 3, 2020, we made some changes to ML Kit for Firebase to better distinguish the on-device APIs from cloud based APIs. The current set of APIs is now split into the following two products:

  • A new product, simply called ML Kit, which will contain all the on-device APIs
  • Firebase Machine Learning, focused on cloud-based APIs and custom model deployment.

So the new version of Firebase/MLVisionTextModel is GoogleMLKit/TextRecognition

pod 'GoogleMLKit/TextRecognition'

There is also a Migration Guide to the new API.

like image 196
Omer Faruk Ozturk Avatar answered Nov 10 '25 09:11

Omer Faruk Ozturk



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!