Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: stop resetting frame_counter to prevent video-OCR offset mismatch

Louis Beaumonta6ebc8ac8ffc
diff --git a/crates/screenpipe-vision/src/core.rs b/crates/screenpipe-vision/src/core.rs
index a696146d1..aa7233311 100644
--- a/crates/screenpipe-vision/src/core.rs
+++ b/crates/screenpipe-vision/src/core.rs
@@ -341,7 +341,6 @@ pub async fn continuous_capture(
{
error!("Error processing max average frame: {}", e);
}
- frame_counter = 0;
max_avg_value = 0.0;
// Log frame comparison stats periodically