Creating a text recognition app using Firebase on-device APIs