jasonjmcghee / rem

An open source approach to locally record and enable searching everything you view on your Mac.
https://rem.ing
MIT License
2.2k stars 63 forks source link

Optionally only OCR the content of the frontmost application #38

Closed seletz closed 5 months ago

seletz commented 5 months ago

To reduce noise and increase data quality, it might be good to only OCR the frontmost application window portions of the captured screenshots.

I propose to add a new setting for this -- default off.

The implementation should be straight forward. I'll try to get this going and add a PR.

seletz commented 5 months ago

@jasonjmcghee added PR #40 which implements this feature. Not a SwiftUI master, so bear with me ...

jasonjmcghee commented 5 months ago

@seletz left a comment! You wrote all this great code, but i think we can get a lot of it for free through existing functions. Let me know what you think / if my code is at all clear

seletz commented 5 months ago

@jasonjmcghee Will do!