TurkceOCR / turkceocr /__init__.py
ersanbil's picture
Release TurkceOCR v2.0 (Apache-2.0)
c8b6043
Raw History Blame Contribute Delete
2.86 kB
"""
TürkçeOCR (`turkceocr`) — İki Katmanlı Açık Kaynak Türkçe OCR, KVKK PII ve Doküman Zekası Ailesi.
Bileşenler:
- `TurkceOCRVL`: LightOnOCR-2 & PaddleOCR-VL çift omurgalı tam sayfa doküman VLM'i
- `TurkceOCRLine`: SVTRv2 + Türkçe Morfolojik SGM satır/alan okuma motoru
- `TurkceDegrade`: Kaşe, ıslak imza, termal POS fişi ve karma el yazısı bozulma motoru
- `TurkceVerify`: TCKN, VKN, TR IBAN, KDV/Toplam ve Türkçe İ/ı sağlama destekli çıkarım
- `TurkceOCRBenchEvaluator`: Gerçekçi Türkçe OCR değerlendirme ve kıyaslama paketi
- `TurkceOCRPipeline`: Uçtan uca birleşik çıkarım hattı
"""
from turkceocr.benchmark import (
KPIGateVerdict,
KPIGatekeeper,
TurkceOCRBenchEvaluator,
TurkceOCRBenchReport,
compute_rlvr_verifiable_reward,
)
from turkceocr.data import (
TurkishDocumentGenerator,
TurkishOCRDatasetMixer,
TurkishStampAndSignatureEngine,
TurkceDegrade,
attenuate_stamp_overlay,
illumination_division_normalization,
remove_table_grid_lines,
)
from turkceocr.models import (
DiacriticFocalLoss,
HighResDiacriticTiler,
TurkishCharacterVocabulary,
TurkishMorphologicalSGMLoss,
TurkceOCRLine,
TurkceOCRVL,
TurkceOCRVLConfig,
segment_page_lines_adaptive,
)
from turkceocr.pipeline import TurkceOCRPageOutput, TurkceOCRPipeline
from turkceocr.postprocess import (
OffsetMap,
TurkishDiacriticRestorer,
TurkishFinancialSolver,
TurkceVerify,
UnifiedTurkishEntityEngine,
VisualRedactor,
find_repetition_loop_index,
fold_tr_isomorphic,
truncate_repetition_loop,
turkish_lower,
turkish_title,
turkish_upper,
validate_tckn,
validate_tr_iban,
validate_vkn,
)
__version__ = "2.0.0"
__brand__ = "TürkçeOCR"
__all__ = [
"__version__",
"__brand__",
"TurkceOCRPipeline",
"TurkceOCRPageOutput",
"TurkceOCRVL",
"TurkceOCRVLConfig",
"HighResDiacriticTiler",
"TurkceOCRLine",
"TurkishCharacterVocabulary",
"DiacriticFocalLoss",
"TurkishMorphologicalSGMLoss",
"TurkceDegrade",
"TurkishStampAndSignatureEngine",
"TurkishDocumentGenerator",
"TurkishOCRDatasetMixer",
"TurkceVerify",
"TurkishFinancialSolver",
"TurkishDiacriticRestorer",
"turkish_upper",
"turkish_lower",
"turkish_title",
"validate_tckn",
"validate_vkn",
"validate_tr_iban",
"TurkceOCRBenchEvaluator",
"TurkceOCRBenchReport",
"KPIGatekeeper",
"KPIGateVerdict",
"compute_rlvr_verifiable_reward",
"UnifiedTurkishEntityEngine",
"VisualRedactor",
"OffsetMap",
"fold_tr_isomorphic",
"find_repetition_loop_index",
"truncate_repetition_loop",
"segment_page_lines_adaptive",
"illumination_division_normalization",
"remove_table_grid_lines",
"attenuate_stamp_overlay",
]