1

when i call function annotate image from kotlin code , i get response with firebase Exception . exception message is ===> "com.google.firebase.functions.FirebaseFunctionsException: No image present." i added code like official documentation ==> https://firebase.google.com/docs/ml/android/recognize-text and i make sure i sent image to firebase function . please how i can solve this problem ?

please how i can solve this problem ?

Francesco Callari
  • 11,300
  • 2
  • 25
  • 40
  • Did you find the solution? Getting the same error. – Rafiul May 22 '23 at 14:10
  • Is the cloud vision api enabled for your project on google cloud. Can check with this link - https://console.cloud.google.com/marketplace/product/google/vision.googleapis.com – Aman Arora May 29 '23 at 06:36
  • Also have you tried logging the incoming request in your cloud function to see if the image is present in it? You can log the incoming data using `console.log` and check in https://console.cloud.google.com/logs/ – Aman Arora May 29 '23 at 06:46

0 Answers0