feat: Improve OCR process - replace Tesseract with PaddleOCR (#115) #122
@@ -6,7 +6,7 @@ import type { JobResponse, OcrResponse, VinExtractionResponse } from '../domain/
|
||||
|
||||
/** OCR service configuration */
|
||||
const OCR_SERVICE_URL = process.env.OCR_SERVICE_URL || 'http://mvp-ocr:8000';
|
||||
const OCR_TIMEOUT_MS = 30000; // 30 seconds for sync operations
|
||||
const OCR_TIMEOUT_MS = 120000; // 120 seconds for sync operations (PaddleOCR model loading on first call)
|
||||
|
||||
/**
|
||||
* HTTP client for communicating with the OCR service.
|
||||
|
||||
Reference in New Issue
Block a user