I'm using this library "com.google.android.gms:play-services-mlkit-text-recognition" in my Android project. I'm using this library for text recognition. It is working really well.
Problem is my application should'nt try to reach outside. At first application launch, Ml-kit tries to download trained model and if It can't download it fails to detect any text.
I want to download precompiled trained model and include that to my project at compile time so when a user download and run my application it won't try to connect google ml kit server.
How can I do this?