[ml-vision] Fix #2666

This commit is contained in:
Salakar
2019-10-06 23:53:11 +01:00
parent 13b6474243
commit 9770130e21

View File

@@ -110,7 +110,7 @@ class FirebaseMlKitVisionModule extends FirebaseModule {
);
}
return this.native.textRecognizerProcessImage(localImageFilePath);
return this.native.textRecognizerProcessImage(toFilePath(localImageFilePath));
}
cloudTextRecognizerProcessImage(localImageFilePath, cloudTextRecognizerOptions) {