android-vision icon indicating copy to clipboard operation
android-vision copied to clipboard

Vision Text API no result

Open fkfk123 opened this issue 8 years ago • 16 comments

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 avatar Aug 16 '16 13:08 fkfk123

Ocr-reader-complete using the same

Only camera no draw the box and text.

fkfk123 avatar Aug 16 '16 13:08 fkfk123

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?

pchx-zz avatar Aug 16 '16 14:08 pchx-zz

My phone is samsung note5 and using Android Studio 2.1.2

I dont know detector.isOperational()

fkfk123 avatar Aug 16 '16 14:08 fkfk123

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?

pchx-zz avatar Aug 16 '16 15:08 pchx-zz

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

fkfk123 avatar Aug 16 '16 16:08 fkfk123

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.

RafaelRViana avatar Aug 25 '16 14:08 RafaelRViana

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.

twhetzel avatar Aug 29 '16 02:08 twhetzel

@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 ...

MkMehdi avatar Aug 30 '16 11:08 MkMehdi

The same problem is happening with LG G4.

jhleelee avatar Oct 06 '16 05:10 jhleelee

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

TarunMehandiratta avatar Apr 07 '17 05:04 TarunMehandiratta

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

TarunMehandiratta avatar Apr 07 '17 05:04 TarunMehandiratta

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.

JobGetabu avatar Jun 17 '17 03:06 JobGetabu

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

axeper avatar Jul 24 '17 11:07 axeper

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" [email protected] 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 .

JobGetabu avatar Jul 25 '17 10:07 JobGetabu

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...

AlexAndro1 avatar Feb 20 '18 12:02 AlexAndro1

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.

AimaShahbaz avatar Mar 02 '19 08:03 AimaShahbaz