googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.58k stars 2.93k forks source link

[Bug report] Text Recognition V2 has problematic dependencies. #733

Open batuhansavas-yilmaz opened 1 year ago

batuhansavas-yilmaz commented 1 year ago

I am using these dependencies but I am having this problem:

  implementation 'com.google.mlkit:text-recognition-chinese:16.0.0'
  implementation 'com.google.mlkit:text-recognition-japanese:16.0.0'
  implementation 'com.google.mlkit:text-recognition-korean:16.0.0'
  implementation 'com.google.mlkit:text-recognition:16.0.0'

Think of the content of the photo as : "Hello , 你好, 안녕하세요, こんにちは"

Here it outputs the Latin alphabet four times. I think Chinese, Korean, and Japanese dependencies also have the latin alphabet. Because of this it is not possible to use them all together.

Here is the output : "Hello , Hello 你好, Hello 안녕하세요, Hello こんにちは"

Can you also please add the Arabic, Greek, Hebrew, Armenian, Russian, Cyrillic and Georgian alphabets?

RahulSDeshpande commented 1 year ago

Everyone must be eagerly waiting for the ARABIC language.