0

How is it possible to have the mouse cursor included when taking screenshots with:

imageio.imread('<screen>')

or

pyautogui.screenshot(region=(0,0,300,300))

?

imread does not seem to offer such cursor a parameter.

The goal is finally to record screen at ~ 20 fps, to do a screencast recorder.

Basj
  • 41,386
  • 99
  • 383
  • 673

1 Answers1

0

You may try Alt-PrintScreen and have your cursor around, makes a nice picture:

enter image description here

lenik
  • 23,228
  • 4
  • 34
  • 43
  • I need to do `imageio.imread('')` 20 times per second in order to program a screen cast recorder, so this option would not work here. – Basj Jan 07 '20 at 09:00
  • @Basj you may want to explicitly say about screen cast @ 20fps in the original question – lenik Jan 07 '20 at 09:34