Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] some questions about index freq #28

Open
rty813 opened this issue Nov 22, 2024 · 4 comments
Open

[Question] some questions about index freq #28

rty813 opened this issue Nov 22, 2024 · 4 comments

Comments

@rty813
Copy link

rty813 commented Nov 22, 2024

  1. I found that for the recorded screenshots, not every one is indexed, but only once every X number of times. So when the system is idle, will the previously skipped snapshots be re-indexed?
  2. After the screen is locked, it does not seem to continue indexing in the background. I think that every night when the system is idle is a good time to re-index the previously unindexed pictures.
@arkohut
Copy link
Owner

arkohut commented Nov 22, 2024

Great question!

Currently, Pensieve dynamically adjusts the processing intervals based on the screenshots processing speed. As a result, some screenshots are fully indexed, while others only have their file name, current application name, and title recorded. Additionally, if the system detects that it is running on battery power, the number of skipped screenshots will significantly increase.

Right now, the system does not automatically perform a full scan for unindexed content; Manually execute the command memos scan is required to trigger a full scan.

This topic is also mentioned here: #16.

@rty813
Copy link
Author

rty813 commented Nov 22, 2024

So is it possible to re-index unindexed images when the system is idle? For example, after the screen is locked?

@arkohut
Copy link
Owner

arkohut commented Nov 22, 2024

Currently, I will not automatically run the full scan because the computational power of each device varies. For instance, without an NVIDIA GPU, a full scan of one day’s data could take several hours or even longer.

However, Pensieve currently defaults to recording the screen every 4 seconds, adopting an approach of “recording more, processing less” to facilitate batch processing when sufficient computational power is available. If you think this approach is unnecessary, you can adjust the record_interval in the config file.

@rty813
Copy link
Author

rty813 commented Nov 22, 2024

For example, my computer at work works for 8 hours during the day and is in standby mode for more than ten hours at night. This time can be fully utilized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants