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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix test & benchmark
Louis Beaumontc028387e4593
diff --git a/screenpipe-vision/benches/ocr_benchmark.rs b/screenpipe-vision/benches/ocr_benchmark.rsindex fd4d934ec..745911d7f 100644--- a/screenpipe-vision/benches/ocr_benchmark.rs+++ b/screenpipe-vision/benches/ocr_benchmark.rs@@ -169,7 +169,7 @@ fn bench_windows_ocr(c: &mut Criterion) {for _ in 0..iters {let start = std::time::Instant::now();- let (result, _) = perform_ocr_windows(black_box(&image)).await;+ let (result, _, _) = perform_ocr_windows(black_box(&image)).await;total_duration += start.elapsed();let accuracy = calculate_accuracy(&result, EXPECTED_KEYWORDS);diff --git a/screenpipe-vision/tests/integration_test.rs b/screenpipe-vision/tests/integration_test.rsindex ea87f74c2..0ed9c2c01 100644--- a/screenpipe-vision/tests/integration_test.rs+++ b/screenpipe-vision/tests/integration_test.rs@@ -17,7 +17,7 @@ fn test_ocr_output() -> Result<(), Box<dyn std::error::Error>> {// Start timinglet start = Instant::now();- let (text, json_output) = perform_ocr_tesseract(&image);+ let (text, json_output, _) = perform_ocr_tesseract(&image);// Stop timinglet duration = start.elapsed();