Does the character recognition API contained in the Firebase ML Kit have support for different alphabets? I've tested with the English alphabet, French alphabet, and the cyrillic alphabet as well, and the characters returned as a result of executing the following code on Android:
final FirebaseVisionImage image = FirebaseVisionImage.fromBitmap(bitmap);
mTextDetector.detectInImage(image)
.addOnSuccessListener(new OnSuccessListener<FirebaseVisionText>() {
@Override
public void onSuccess(FirebaseVisionText firebaseVisionText) {
final List<FirebaseVisionText.Block> blocks = firebaseVisionText.getBlocks();
// processing of blocks...
}
})
.addOnFailureListener(new OnFailureListener() {
@Override
public void onFailure(@NonNull Exception e) {
// handling of character recognition failure...
}
});
are always latin characters from the English alphabet, i.e. any recognized French, or cyrillic chars are replaced with latin chars which seem to match them best.
Is it possible to achieve correct recognition of such characters?
Thank you.