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

fix: ocr engine name

Louis Beaumont537d134210a6
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
index 186f568af..4778303b1 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/tauri.conf.json
@@ -61,6 +61,7 @@
"identifier": "screenpi.pe",
"plugins": {
"updater": {
+ "createUpdaterArtifacts": true,
"active": true,
"dialog": true,
"endpoints": [
diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rs
index 3108acffc..f8bdea5aa 100644
--- a/screenpipe-server/src/bin/screenpipe-server.rs
+++ b/screenpipe-server/src/bin/screenpipe-server.rs
@@ -31,7 +31,7 @@ use screenpipe_vision::utils::OcrEngine as CoreOcrEngine;
#[derive(Clone, Debug, ValueEnum, PartialEq)]
enum CliOcrEngine {
- Deepgram,
+ Unstructured,
Tesseract,
WindowsNative,
}
@@ -39,7 +39,7 @@ enum CliOcrEngine {
impl From<CliOcrEngine> for CoreOcrEngine {
fn from(cli_engine: CliOcrEngine) -> Self {
match cli_engine {
- CliOcrEngine::Deepgram => CoreOcrEngine::Deepgram,
+ CliOcrEngine::Unstructured => CoreOcrEngine::Unstructured,
CliOcrEngine::Tesseract => CoreOcrEngine::Tesseract,
CliOcrEngine::WindowsNative => CoreOcrEngine::WindowsNative,
}
@@ -111,7 +111,7 @@ struct Cli {
/// OCR engine to use. Tesseract is a local OCR engine (default).
/// WindowsNative is a local OCR engine for Windows.
- /// Deepgram is a cloud OCR engine (free of charge on us)
+ /// Unstructured is a cloud OCR engine (free of charge on us)
#[arg(long, value_enum, default_value_t = CliOcrEngine::Tesseract)]
ocr_engine: CliOcrEngine,
@@ -389,7 +389,7 @@ async fn main() -> anyhow::Result<()> {
);
// Add warning for cloud arguments
- if cli.cloud_audio_on || warning_ocr_engine_clone == CliOcrEngine::Deepgram {
+ if cli.cloud_audio_on || warning_ocr_engine_clone == CliOcrEngine::Unstructured {
println!(
"{}",
"WARNING: You are using cloud now. Make sure to understand the data privacy risks."
diff --git a/screenpipe-vision/src/core.rs b/screenpipe-vision/src/core.rs
index 2604d5c79..fe3f62f15 100644
--- a/screenpipe-vision/src/core.rs
+++ b/screenpipe-vision/src/core.rs
@@ -219,8 +219,8 @@ pub async fn process_ocr_task(
frame_number
);
let (text, data_output, json_output) = match &*ocr_engine {
- OcrEngine::Deepgram => {
- debug!("Cloud Deepgram OCR");
+ OcrEngine::Unstructured => {
+ debug!("Cloud Unstructured OCR");
perform_ocr_cloud(&image_arc).await
}
OcrEngine::Tesseract => {
diff --git a/screenpipe-vision/src/utils.rs b/screenpipe-vision/src/utils.rs
index 01772b67c..2cdaf7616 100644
--- a/screenpipe-vision/src/utils.rs
+++ b/screenpipe-vision/src/utils.rs
@@ -19,7 +19,7 @@ use xcap::Monitor;
#[derive(Clone, Debug)]
pub enum OcrEngine {
- Deepgram,
+ Unstructured,
Tesseract,
WindowsNative,
}