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

OCR does not work on SwayWM #582

Open
a-b-v opened this issue Jul 9, 2023 · 5 comments
Open

OCR does not work on SwayWM #582

a-b-v opened this issue Jul 9, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@a-b-v
Copy link

a-b-v commented Jul 9, 2023

OCR "Recognize text in screen area" (Ctrl+Alt+I) under SwayWM does not work:
Selection tool appears but underlying screen is like background picture, no desktop or text is visible under the selection tool

Steps to reproduce

Launch Crow Translate in SwayWM
When main program window is in focus run Ctrl-Alt-I
See white screen with the selection tool, and no desktop or text visible. When drawing selection rectangle it is totally black. Nothing is selected
Expected behavior
Text should be visible under the selection tool. After drawing rectangle on top of text and pressing Enter it should be recognized by the program.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

OS: Ubuntu
Desktop environment: SwayWM
Crow Translate version: 2.10.5

@a-b-v a-b-v added the bug Something isn't working label Jul 9, 2023
@Shatur
Copy link
Member

Shatur commented Jul 9, 2023

Wayland requires us to provide separate support for each DE. We currently support Plasma and Gnome.
I don't have Sway, so PR would be appreciated.

@RyanOrigens
Copy link

It also doesn't work on Gnome.

@Shatur
Copy link
Member

Shatur commented Sep 17, 2023

I tried it on Phosh (which is a mobile gnome), it does work for me.

@OlegShevtsov1
Copy link

It works fine to me

apt install tesseract-ocr

Ubuntu 22.04 Gnome 42.9

@a-b-v
Copy link
Author

a-b-v commented Nov 4, 2023

It works fine to me

apt install tesseract-ocr

Ubuntu 22.04 Gnome 42.9

I installed tesseract-ocr and it works well. But crow translate still doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

4 participants