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

add linux

Louis Beaumonta40e9a70a505
diff --git a/screenpipe-vision/src/utils.rs b/screenpipe-vision/src/utils.rs
index 3fc006161..509ac0cb3 100644
--- a/screenpipe-vision/src/utils.rs
+++ b/screenpipe-vision/src/utils.rs
@@ -243,6 +243,7 @@ pub async fn save_text_files(
#[cfg(target_os = "windows")]
pub async fn perform_ocr_windows(image: &DynamicImage) -> (String, DataOutput, String) {
+ use std::io::Cursor;
use windows::{
Graphics::Imaging::BitmapDecoder,
Media::Ocr::OcrEngine as WindowsOcrEngine,
@@ -289,4 +290,4 @@ pub async fn perform_ocr_windows(image: &DynamicImage) -> (String, DataOutput, S
.to_string();
(text, data_output, json_output)
-}
\ No newline at end of file
+}