Skip to content

Commit 146fb97

Browse files
author
samet
committed
onceki gunun verisi aktarildi.
1 parent 26374eb commit 146fb97

4 files changed

Lines changed: 111 additions & 612 deletions

File tree

hr-rag-system/config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ module.exports = {
4141
},
4242

4343
// OCR Ayarları
44-
ocr: {
45-
// Windows için tesseract yolu (yüklüyse burayı doldurun), aksi halde PATH'ten bulunur
46-
tesseractPath: process.env.TESSERACT_PATH || undefined,
47-
languages: process.env.TESSERACT_LANG || 'tur+eng',
48-
dpi: 300,
49-
minTextThreshold: 120, // pdf-parse çıktısı bundan azsa OCR dene
50-
preferPython: true // mümkünse Python OCR kullan
51-
},
44+
// hr-rag-system/config.js
45+
ocr: {
46+
tesseractPath: process.env.TESSERACT_PATH || undefined,
47+
languages: process.env.TESSERACT_LANG || 'tur+eng',
48+
dpi: 450, // 300'den 450'ye çıkar
49+
minTextThreshold: 50, // 120'den 50'ye düşür (daha çok PDF'e OCR uygulansın)
50+
preferPython: true
51+
},
5252

5353
// Server Ayarları
5454
server: {

hr-rag-system/utils/ocr.js

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)