Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin bindings for text recognition #151

Open
aneesh25 opened this issue Nov 2, 2022 · 1 comment
Open

Xamarin bindings for text recognition #151

aneesh25 opened this issue Nov 2, 2022 · 1 comment

Comments

@aneesh25
Copy link

aneesh25 commented Nov 2, 2022

I was using your old library Barcode.XF with Xamarin.Firebase.iOS.MLKIT nuget package.
Here, I was able to scan barcodes, as well as recognize Text with the below methods

VisionBarcode[] barcodes = await barcodeDetector.DetectAsync(image);
VisionText txt = await textRecognizer.ProcessImageAsync(image);

Both the barcode and text detectors were available.

Now, I have upgraded to your latest library BarcodeScanner.Mobile, where I am able to scan barcode quickly (way better than before), but I don't see any methods for text recognition.I understand you are adding Xamarin.MLKit.iOS.BarcodeScanning bindings, without firebase. But is there a way I can use Text recognition too. (btw, I am trying to scan barcodes and OCR simultaneously).

What I did was, I used your latest library for barcode scanning, and for text recognition, I added Xamarin.Firebase.iOS.MLKIT (0.19). Here I do get the Text detectors, but when i compile the project, I get linking errors

Screenshot 2022-11-02 at 4 18 21 PM

@JimmyPun610
Copy link
Owner

merged pull request #190

the function is provided on Maui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants