feat: Improve OCR process - replace Tesseract with PaddleOCR (#115) #122
@@ -49,7 +49,7 @@ async function extractVinFromImage(file: File): Promise<VinOcrResult> {
|
||||
|
||||
const response = await apiClient.post('/ocr/extract/vin', formData, {
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
timeout: 30000, // 30 seconds for OCR processing
|
||||
timeout: 120000, // 120 seconds for OCR processing
|
||||
});
|
||||
|
||||
const data = response.data;
|
||||
|
||||
Reference in New Issue
Block a user