AuroraWright / owocr

Optical character recognition for Japanese text
Apache License 2.0
36 stars 2 forks source link

Screen capture area selection & ability to reset area without restarting #1

Open pinntokuru opened 4 months ago

pinntokuru commented 4 months ago

Currently you need to input coordinates and height/width for owocr to scan a particular area of the screen. It would be much more convenient if it was possible to simply drag a rectangle instead.

Another quality of life change would be the ability to change these coordinates (also via mouse drag) with a hotkey without having to close and restart the app.

AuroraWright commented 4 months ago

I agree but it’s very annoying to implement unfortunately, i tried to mess around with a pyqt example last year at first but i couldn’t get it to work with two monitors and it had some other issue so i gave up. In theory window titles should cover most scenarios, but if i run into a viable graphical way to select coordinates (and hopefully a multiplatform one, my main OS is macOS) I’d no doubt work on it

pinntokuru commented 4 months ago

Instead of a full on drag and drop having the user click twice and calculating an area using those two points might be enough.