-2

I want that if one image is selected it detects Label, text and faces in single image at one time only.

Kanishq Gupta
  • 151
  • 1
  • 4
  • 12

1 Answers1

0

Just call all of the functions on your image file at once, then combine the results using something like zip in RXJava.

Alternatively, you could nest the results (e.g. call FirebaseVision.getInstance().onDeviceTextRecognizer.processImage(image) inside the onSuccessListener of another function), although this will take much longer to complete all.

If you provide code of your existing attempts, StackOverflow can help further.

Jake Lee
  • 7,549
  • 8
  • 45
  • 86