GithubHelp home page GithubHelp logo

Comments (4)

lukas-blecher avatar lukas-blecher commented on May 12, 2024

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:

  1. Install mss: pip install ms
  2. run the following script
import mss
with mss.mss() as sct:
    sct.shot(mon=-1, output='fullscreen.png')
  1. 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.

JulianNotFound avatar JulianNotFound commented on May 12, 2024

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.

lukas-blecher avatar lukas-blecher commented on May 12, 2024

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.

lukas-blecher avatar lukas-blecher commented on May 12, 2024

should be fixed now with gnome-screenshot and flag --gnome thanks to #111

from latex-ocr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.