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

Google Lens not working ? #66

Open
zragon opened this issue Jan 2, 2025 · 17 comments
Open

Google Lens not working ? #66

zragon opened this issue Jan 2, 2025 · 17 comments

Comments

@zragon
Copy link

zragon commented Jan 2, 2025

Can someone else confirm this issue ? it works yesterday, but now suddenly it can't even detect anything on every each 4x monitor.

@Meowloid
Copy link

Meowloid commented Jan 3, 2025

Can vouch for the above. The other OCR engines, PaddleOCR/MangaOCR works fine. I'm using Windows, and YomiNinja v0.7.2.

@speedchuck
Copy link

Same here. I use Google Lens because it doesn't get kanji and kana wrong all the time like Paddle does, but it's just not detecting anything anymore.

@NoroiKisaragi
Copy link

can confirm google lens isn't working.

google cloud voice is partially working...but it doesn't work with yomitan on my setup.

@AdriGrana
Copy link

Same issue here (Google Lens not working) in version 0.9.0

@DerekDuchesne
Copy link

Same issue for me with YomiNinja v0.7.2.

As a workaround, you can use Google Lens directly via Google Search. On Windows, you can use the Snip & Sketch tool (the shortcut is windows key + shift + s), select the area you'd like to parse (it'll get automatically added to your clipboard.) Then you can go to Google Search and click on the camera "Search By Image" option. Then paste or ctrl+v in the area where it says "Drag image here." Google should make the text selectable after a few seconds.

This isn't as convenient as YomiNinja, but it's better than nothing until this gets fixed.

@speedchuck
Copy link

As a workaround, you can use Google Lens directly via Google Search. On Windows, you can use the Snip & Sketch tool (the shortcut is windows key + shift + s), select the area you'd like to parse (it'll get automatically added to your clipboard.) Then you can go to Google Search and click on the camera "Search By Image" option. Then paste or ctrl+v in the area where it says "Drag image here." Google should make the text selectable after a few seconds.

How did you get this to work? Google Lens on my PC lets me drop files in, but not paste clipboard pictures.

@DerekDuchesne
Copy link

As a workaround, you can use Google Lens directly via Google Search. On Windows, you can use the Snip & Sketch tool (the shortcut is windows key + shift + s), select the area you'd like to parse (it'll get automatically added to your clipboard.) Then you can go to Google Search and click on the camera "Search By Image" option. Then paste or ctrl+v in the area where it says "Drag image here." Google should make the text selectable after a few seconds.

How did you get this to work? Google Lens on my PC lets me drop files in, but not paste clipboard pictures.

I'm using Google Chrome and going to www.google.com. Then I click on on the "Search By Image" icon on the right and you should see something that looks like this. If you click in the inner gray square, you should be able to ctrl+v the image stored in your clipboard from Snip & Sketch.

google_lens

@yryrdz
Copy link

yryrdz commented Jan 6, 2025

image

Is it possible that this is the thing referenced in this part of the application?

@speedchuck
Copy link

I'm using Google Chrome and going to www.google.com. Then I click on on the "Search By Image" icon on the right and you should see something that looks like this. If you click in the inner gray square, you should be able to ctrl+v the image stored in your clipboard from Snip & Sketch.

Huh. I do exactly that and am unable to paste there. Weird.

@DerekDuchesne
Copy link

I'm using Google Chrome and going to www.google.com. Then I click on on the "Search By Image" icon on the right and you should see something that looks like this. If you click in the inner gray square, you should be able to ctrl+v the image stored in your clipboard from Snip & Sketch.

Huh. I do exactly that and am unable to paste there. Weird.

Sorry to hear that. I'm not sure why it's not working for you... Did you try Chrome incognito mode or a different browser? It's working for me in Chrome incognito and it also works in Firefox. I'm using Windows 10 and Chrome Version 131.0.6778.205 (Official Build) (64-bit) if that helps.

@speedchuck
Copy link

Sorry to hear that. I'm not sure why it's not working for you... Did you try Chrome incognito mode or a different browser? It's working for me in Chrome incognito and it also works in Firefox. I'm using Windows 10 and Chrome Version 131.0.6778.205 (Official Build) (64-bit) if that helps.

Ah, I got it working! I thought I had gone to google.com but I must have still been in the google chrome new tab popup. Thanks!

@YamatokotobaEnjoyer
Copy link

Man, that's a shame :(
Neither of google thingies work for me too. Good things truly don't last long ggs.
Well, at least Paddle works fine. Wonder if there's any way to increase it's accuracy, cuz i've used it to scan traditional chinese and it recognized [於 as 放] and butchered some other characters along the way. TwT
I've noticed that enabling "Invert image colors" and dragging up "image scaling factor" up does remove some of the more silly mistakes, but i wonder if it's possible to make it even better.

@d4n3436
Copy link

d4n3436 commented Jan 7, 2025

Hello, I had the same problem on a project that uses Google Lens and the solution is quite simple.
The User-Agent header needs to be set to one used by mobile devices such as Mozilla/5.0 (Linux; Android 14; Google Pixel 9 Pro XL; 3854511) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36.
I don't use this software but I guess this will help anyway.

@speedchuck
Copy link

Hello, I had the same problem on a project that uses Google Lens and the solution is quite simple. The User-Agent header needs to be set to one used by mobile devices such as Mozilla/5.0 (Linux; Android 14; Google Pixel 9 Pro XL; 3854511) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36. I don't use this software but I guess this will help anyway.

With this specific tool, every time I change User Agent and then close the [Inspect] sidebar, it reverts back to Use browser default. Unfortunately, I can't seem to get this trick to work.

@1mongus-afk
Copy link

Still unfixed, this tool is completely worthless without it

@speedchuck
Copy link

speedchuck commented Jan 24, 2025 via email

@Keksus1
Copy link

Keksus1 commented Jan 29, 2025

Owocr fixed it by acting like a SmartTV

AuroraWright/owocr@f643082

Furthermore they changed this:

AuroraWright/owocr@aa0cba6

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