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

Possible problem with GOOGLE OCR #682

Open
vanderalex opened this issue Dec 17, 2024 · 4 comments
Open

Possible problem with GOOGLE OCR #682

vanderalex opened this issue Dec 17, 2024 · 4 comments

Comments

@vanderalex
Copy link

vanderalex commented Dec 17, 2024

After the latest updates, I noticed that a lot of balloons have ceased to translate. I assume that this is caused by a bug in the GOOGLE OCR module - the text is recognized, then passed to the translator, some requests are not translated and then the balloon remains with the original text, but the mask shows that the work with the balloon was carried out. The logs occasionally show such messages HTTP/1.1 303 See Other:
[2024-12-17 16:05:23,021] [ INFO] _client.py:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 200 OK"

[INFO ] _client:_send_single_request:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 303 See Other"

[2024-12-17 16:05:24,997] [ INFO] _client.py:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 303 See Other"

[INFO ] _client:_send_single_request:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 303 See Other"

[2024-12-17 16:05:26,965] [ INFO] _client.py:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 303 See Other"

[INFO ] _client:_send_single_request:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 200 OK"

[2024-12-17 16:05:29,156] [ INFO] _client.py:1026 - HTTP Request: POST https://lens.google.com/v3/upload "HTTP/1.1 200 OK"

This is how the work of the program looks like with the latest updates:
1

This is how the work of the old version of the program looks like (about half a year old).
2
Unfortunately, I can't say exactly when the problem started.

@bropines
Copy link
Contributor

the problem appeared last night. Google has updated the very principle of data operation. I'm in the process of finding a fix. Please wait.

@vanderalex
Copy link
Author

the problem appeared last night. Google has updated the very principle of data operation. I'm in the process of finding a fix. Please wait.

As I said, old versions (for example start of September) work without this problem. Maybe it will help you...

@bropines
Copy link
Contributor

#685

@bropines
Copy link
Contributor

Perhaps Google has begun to realize that some cookies are reused. I'll see if removing unnecessary request data will help.

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

2 participants