You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For scripting, it would be nice if this tool could fetch text via X, Y, W, H.
It would need to use a different API (not ScreenCapture), because for scripting you also want to avoid any sound and the crosshair for obvious reasons.
My goal is to periodically scan a section on my screen for text.
EDIT: Made a PR on a fork of your project, which already has some more options and leverages the screencapture binary instead of the API: adam-zethraeus#2
This binary gives all the options I need, i.e. defining a rect or disabling the sound playing. I wonder how much performance it costs to take a screenshot every second.
The text was updated successfully, but these errors were encountered:
martin-braun
changed the title
Feature Request: Specify X and Y via argument
Feature Request: Specify X, Y, W, H via argument (unattended mode)
Dec 31, 2023
@adam-zethraeus You mean to https://github.com/schappim/macOCR? Would you mind doing it, as I'm very busy, atm, and I'm satisfied with your fork. This repo looked unmaintained whereas yours gives more options, so it felt right to contribute to yours instead.
For scripting, it would be nice if this tool could fetch text via X, Y, W, H.
It would need to use a different API (not ScreenCapture), because for scripting you also want to avoid any sound and the crosshair for obvious reasons.My goal is to periodically scan a section on my screen for text.
EDIT: Made a PR on a fork of your project, which already has some more options and leverages the
screencapture
binary instead of the API: adam-zethraeus#2This binary gives all the options I need, i.e. defining a rect or disabling the sound playing. I wonder how much performance it costs to take a screenshot every second.
The text was updated successfully, but these errors were encountered: