Skip to content

Commit c028387

Browse files
committed
fix test & benchmark
1 parent b175a64 commit c028387

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

screenpipe-vision/benches/ocr_benchmark.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ fn bench_windows_ocr(c: &mut Criterion) {
169169

170170
for _ in 0..iters {
171171
let start = std::time::Instant::now();
172-
let (result, _) = perform_ocr_windows(black_box(&image)).await;
172+
let (result, _, _) = perform_ocr_windows(black_box(&image)).await;
173173
total_duration += start.elapsed();
174174

175175
let accuracy = calculate_accuracy(&result, EXPECTED_KEYWORDS);

screenpipe-vision/tests/integration_test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn test_ocr_output() -> Result<(), Box<dyn std::error::Error>> {
1717
// Start timing
1818
let start = Instant::now();
1919

20-
let (text, json_output) = perform_ocr_tesseract(&image);
20+
let (text, json_output, _) = perform_ocr_tesseract(&image);
2121

2222
// Stop timing
2323
let duration = start.elapsed();

0 commit comments

Comments
 (0)