Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1585

Python • Trying to find an example of how to capture screen to file via python?

$
0
0
Trying to find an example of how to capture screen to file via python? As a way to figure out why openCV and modules pyautoGUI fail on Pi OS. Tried several methods of trying to capture the desktop and then search that capture for a given 'png' file match in said screen capture. Each example fails stated it does not have authority to read display:0. Really suck, any help appreciated.

Statistics: Posted by Schorschi — Fri Oct 24, 2025 12:56 am



Viewing all articles
Browse latest Browse all 1585

Trending Articles