I want that if one image is selected it detects Label, text and faces in single image at one time only.
Asked
Active
Viewed 215 times
-2
-
What did you tried ? – Karthic Srinivasan Nov 18 '18 at 06:14
1 Answers
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