我正在使用FirebaseVision从图像中检测文本,但是我需要同时从多个图像中检测文本,这可能吗?
从图像中识别文本的代码:
val detector = FirebaseVision.getInstance().cloudTextRecognizer
val result = detector.processImage(image)
.addOnSuccessListener { firebaseVisionText ->
// Task completed successfully
// ...
}
.addOnFailureListener {
// Task failed with an exception
// ...
}