Replies: 2 comments 3 replies
-
Only running ocr if the current image changed more than some small tolerance is a great optimization / low hanging fruit that would reduce energy usage. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It could be very useful to decouple this as you describe. Could be even better to use https://github.com/jasonjmcghee/xrem as this agent to be cross platform, and have a different ui per platform, or common ui for non-mac. This would involve performance benchmarking to compare rusty-tesseract to Apple VisionKit |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This app seems to have two high level pieces:
The screenshot collection part could be factored out into its own library so it could be used by any app that needed to collect screenshots in the background. A quick search shows that an XPC service might be the right IPC mechanism for doing that on OSX.
Functionality like:
could be implemented by the screenshot grabbing XPC service.
If other apps adopted the screenshot grabbing library, then the burden of fixing bugs like Started recording, put computer to sleep, reopened - no longer recording could be shared among those apps.
On the downside, splitting out a separate library would have costs, like maintaining two separate building / packaging pipelines.
Beta Was this translation helpful? Give feedback.
All reactions