googlesamples / android-vision

Deprecated: The Mobile Vision API is now a part of ML Kit: Check out this repo:
https://github.com/firebase/quickstart-android/tree/master/mlkit
Apache License 2.0
2.92k stars 1.73k forks source link

Vision Text API no result #120

Open fkfk123 opened 8 years ago

fkfk123 commented 8 years ago

https://codelabs.developers.google.com/codelabs/mobile-vision-ocr/#0

I do step by step But my phone no response Only camera no draw the box and text.

fkfk123 commented 8 years ago

Ocr-reader-complete using the same

Only camera no draw the box and text.

pchx-zz commented 8 years ago

Please provide more details.

What kind of device are you using? Does your device have enough free space to download the code and models? Does detector.isOperational() return true?

fkfk123 commented 8 years ago

My phone is samsung note5 and using Android Studio 2.1.2

I dont know detector.isOperational()

pchx-zz commented 8 years ago

Please read this and check your device logs:

https://developers.google.com/android/reference/com/google/android/gms/vision/Detector.html#isOperational()

What kind of text are you trying to recognize?

fkfk123 commented 8 years ago

I dont know how do I just try sample text Hello World!

RafaelRViana commented 8 years ago

Here is not opening too... Using a Moto G. detector.isOperational() is returning true.

I tried to recognize a text I have written. And I also tried to recognized a text printed in a book. Both in English. None of them worked, the app just draws on the screen strange characters on the screen.

twhetzel commented 8 years ago

I went through the code lab yesterday and can confirm it's working. I typed some text in TextEdit to test out and also tried text from items around the house.

MkMehdi commented 8 years ago

@twhetzel by which version android you tested ? I have the same problem with < 4.4 , can't detected anything is like the Vision Text API doesn't support it ...

jhleelee commented 8 years ago

The same problem is happening with LG G4.

TarunMehandiratta commented 7 years ago

I have faced same problem , Only camera worked , but did not detect or draw text onto the screen

TarunMehandiratta commented 7 years ago

Can you please provide more detail about this text Recognition or any other option is available if have please share.

JobGetabu commented 7 years ago

Running both in Lollipop and Marshmallow gives no text, doesn't give the detected bit also. Have tested in four different phones still the same. Running the code-lab complete and starter but still no text is recognized in OCR.

axeper commented 7 years ago

Same issue with my Samsung SM-A500FU (Android 6.0.1). The camera works but no text is detected.

JobGetabu commented 7 years ago

I found out you need to enable internet connection. Make sure the google play service is not restricted in the background to install required dependencies for OCR

On Jul 24, 2017 2:58 PM, "axeper" notifications@github.com wrote:

Same issue with my Samsung SM-A500FU (Android 6.0.1). The camera works but no text is detected.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlesamples/android-vision/issues/120#issuecomment-317400095, or mute the thread https://github.com/notifications/unsubscribe-auth/AVeUnygpSYDVJwn898sedY9-92v4ffEiks5sRIb2gaJpZM4JlXgY .

AlexAndro1 commented 6 years ago

I confirm it's not working. Tested on samsung Galaxy S5 - 6.0 and Samsung Galaxy C5 Plus - 7.0. Nothing happens. i have enough storage space. When tapping, all I can see in the console is "D/OcrCaptureActivity: no text detected". Getting the error from here https://github.com/googlesamples/android-vision/issues/164 and also

[ 02-20 14:45:24.647 678:24465 E/ ] Camera[ERROR] awb_get_cct_index: 227: awb_get_cct_index:227 nCurCCT_Idx[0]=10, Ratio[0]=0.856000

[ 02-20 14:45:24.647 678:24465 E/ ] Camera[ERROR] awb_get_cct_index: 227: awb_get_cct_index:227 nCurCCT_Idx[1]=10, Ratio[1]=0.856000

etc...

AimaShahbaz commented 5 years ago

https://codelabs.developers.google.com/codelabs/mobile-vision-ocr/#0

I do step by step But my phone no response Only camera no draw the box and text.

Have you got results? Can you help me.