Comments (4)
Hi, thanks for opening the issue.
You are right, PIL does not support multiple monitors in linux. Did pyscreenshot
end up working? Are you able to grab all monitors with the library?
If not, can you please follow these steps:
- Install mss:
pip install ms
- run the following script
import mss
with mss.mss() as sct:
sct.shot(mon=-1, output='fullscreen.png')
- It should generate a file
fullscreen.png
in your current working directory. Can you tell me if all your screens are visible in the picture?
If so I might be able to rewrite the screen grabbing code.
from latex-ocr.
Thanks for your reply. Both pyscreenshot
and mss
can get grab all monitors.
I guess the problem is related to the QT application instead of the screen grabbing part. It seems that the QT application only control the main screen output. Besides, issue #40 may be related to the same problem.
from latex-ocr.
Ok thank you, I think I understand now what you mean.
It won't be easy for me to debug because my Linux doesn't like additional monitors.
I will see when I'll get around to fixing it.
Of course I'd be happy for some help if you are interested :)
from latex-ocr.
should be fixed now with gnome-screenshot
and flag --gnome
thanks to #111
from latex-ocr.
Related Issues (20)
- Cant run with conda HOT 2
- Equation in many lines
- Problem with union and intersection
- How to join the contribution?
- How to join the contribution?
- How to join the contribution?
- uninstalling does not uninstall the nvidia packages HOT 1
- Running latexocr in WSL2 ubuntu
- [FR] `model(file)` copies the predicted latex to the clipboard
- Python version not mentioned as a dependency
- Where is latex code stored and how do I capture it in a variable to post process it?
- Does the formula font have an effect when inserting an image?
- Screenshot doesn't work with grim on wayland HOT 1
- [bug] - Hugging Face Running Error
- AttributeError: module 'numpy' has no attribute 'float'. HOT 2
- Can similar methods be used to generate TikZ code from images?
- pdfs to latex HOT 1
- Issue with Qt6 on macOS: am I missing something?
- Error in batchsize.
- Convert model Latex-OCR to ONNX sucessfully !
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-ocr.