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

moving unstructured to integrations

matthew-heartfulc502d80ed69f
diff --git a/screenpipe-vision/src/core.rs b/screenpipe-vision/src/core.rs
index 1f89987a4..1b88d0754 100644
--- a/screenpipe-vision/src/core.rs
+++ b/screenpipe-vision/src/core.rs
@@ -15,11 +15,11 @@ use xcap::{Monitor, Window};
use crate::utils::perform_ocr_windows;
use crate::utils::OcrEngine;
use crate::utils::{
- capture_screenshot, compare_with_previous_image, perform_ocr_cloud, perform_ocr_tesseract,
+ capture_screenshot, compare_with_previous_image, perform_ocr_tesseract,
save_text_files,
};
use rusty_tesseract::{Data, DataOutput}; // Add this import
-
+use screenpipe_integrations::unstructured_ocr::perform_ocr_cloud;
pub struct DataOutputWrapper {
pub data_output: rusty_tesseract::tesseract::output_data::DataOutput,
@@ -307,4 +307,4 @@ pub async fn process_ocr_task(
frame_number, _duration
);
Ok(())
-}
+}
\ No newline at end of file