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

testing json text

matthew-heartfulcadabc771b00
diff --git a/screenpipe-vision/tests/integration_test.rs b/screenpipe-vision/tests/integration_test.rs
index 098d90b3f..ce109278f 100644
--- a/screenpipe-vision/tests/integration_test.rs
+++ b/screenpipe-vision/tests/integration_test.rs
@@ -13,10 +13,10 @@ fn test_ocr_output() -> Result<(), Box<dyn std::error::Error>> {
println!("Path to testing_OCR.png: {:?}", path);
let image = image::open(&path).expect("Failed to open image");
- let (text, tsv_output) = perform_ocr(&image);
+ let (text, tsv_output, json_output) = perform_ocr(&image);
- println!("OCR Text: {}", text);
- println!("TSV Output: {}", tsv_output);
+ // println!("OCR Text: {}", text);
+ println!("json_output: {}", json_output);
assert!(!text.is_empty(), "OCR text should not be empty");
assert!(!tsv_output.is_empty(), "TSV output should not be empty");