Closed Complexity closed 5 months ago
This is the process that takes a screenshot and recognizes the text. It would be great to find creative ways to reduce the impact of this.
Enabling "only OCR the active window" should help, which will be released in the next release.
At the end of the day, this isn't a bug, it's core to the app being able to provide search, but unfortunate how inefficient it is.
It would be fantastic to find creative ways to reduce energy usage.
Is it possible, then, that Quicktime's OCR only runs on the specific still paused in the Quicktime player. In that way, it offers in-the-moment copying of OCR text, which suits that use case but of course not rem's functions.
One thought that occurs would be to defer OCR for laptops until on plug-in power, then batch it—but that might create needless bottlenecks, and wouldn't serve the longer term plan to incorporate high availability RAG search.
Agree it's not a bug but a discussion. Will close with thanks and keep an eye on development. A great project!
Haven’t tried ocr on the video after the fact. I would expect a big drop in quality. But worth trying.
Issue:
When rem is running, and actively Remembering a session, Apple's mediaanalysisd also starts up. It will run constantly with CPU between 30% - 50% of total usage for the entire session. (rem itself consumes around 5% CPU.) After selecting Stop Remembering in the rem menu, the process peaks briefly and then drops away.
What is expected:
Not sure...
Why is this an issue?
For an app which derives its functionality from running all day, triggering another process that consumes considerable resources might lead to unnecessary battery consumption.
Discussion
In comparison, using Quicktime to record a (full screen) capture session does not trigger mediaanalysisd. Once a Quicktime screen capture movie is recorded and available in a Quicktime window, its text is also selectable, with copy to clipboard available.
Quicktime's screencapture process hovers between 15% -20% CPU.
rem, when running, shows an Energy Impact of between 100 and 300 on my M1 MBP 14", on battery. In comparison, with Quicktime running and full-screen recording, Energy Impact for the screencapture process is around 10 - 15, an order of magnitute less.
Is mediaanalysisd doing something specific and of value for rem? Is it actively spawned, or spawned by MacOS due to the way the video is being stored by rem?
Is there anything to be learned from the way Quicktime does its screen capture that would make rem more efficient for long-term active sessions?