ocr icon indicating copy to clipboard operation
ocr copied to clipboard

Android Identifying Chinese garbled characters

Open CHENJKNB opened this issue 1 year ago • 3 comments

hello
MAUI Android Identifying Chinese garbled characters, But there is no garbled code on the PC 。Thks. image image

CHENJKNB avatar Jun 01 '24 14:06 CHENJKNB

I don't have access to much in the way of other language text, but feel free to look if there's something that can be improved. Always happy to take pull requests. I know for Android, there are a few language-specific models (like Xamarin.Google.MLKit.TextRecognition.Chinese) but I haven't had much chance to play around with how those dependencies might be brought in when needed.

kfrancis avatar Jun 03 '24 16:06 kfrancis

hello MAUI Android Identifying Chinese garbled characters, But there is no garbled code on the PC 。Thks. image image

change source code , replace TextRecognizerOptions.Builder() to ChineseTextRecognizerOptions.Builder() , add using Xamarin.Google.MLKit.Vision.Text.Chinese;

5118234 avatar Oct 24 '24 09:10 5118234

I don't have a good way yet to handle this. Any ideas? Feel free to submit an idea and eventually a pull request.

What I don't want is for someone who mainly expects English to have to pull in dependencies that they don't need, so I could see language-specific nuget packages or something .. ?

kfrancis avatar Oct 24 '24 17:10 kfrancis