mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: make OCR portable and reliable across AMD64 and ARM64 (#519)
* fix: make OCR portable and reliable * fix: harden OCR installation portability * fix: pin OCR partials across downloads * fix: make OCR execution reliably asynchronous * fix: harden OCR portability and docs routes * fix: preserve decoder and docs safeguards
This commit is contained in:
@@ -36,6 +36,11 @@ export const TOOL_SETTINGS_OVERRIDES: Record<string, unknown> = {
|
||||
"convert-spreadsheet": { format: "ods" },
|
||||
"content-aware-resize": { width: 50 },
|
||||
"ai-canvas-expand": { extendRight: 32 },
|
||||
// Generated matrices validate route/format contracts, not long-running OCR
|
||||
// execution. Request the optional tier so model-free test environments fail
|
||||
// cleanly at ingress instead of saturating their shared CPUs with Tesseract.
|
||||
ocr: { quality: "balanced" },
|
||||
"ocr-pdf": { quality: "balanced" },
|
||||
};
|
||||
|
||||
export function defaultSettingsFor(toolId: string): unknown {
|
||||
|
||||
Reference in New Issue
Block a user