Image-to-Text
Transformers
Safetensors
Turkish
English
ocr
turkish
document-intelligence
vision-language-model
svtrv2
qwen2.5-vl
kvkk
pii-redaction
legal-nlp
ictihat
financial-verification
visual-redaction
Eval Results (legacy)
Instructions to use ersanbil/TurkceOCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ersanbil/TurkceOCR with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="ersanbil/TurkceOCR")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ersanbil/TurkceOCR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,415 Bytes
c8b6043 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | """
TürkçeOCR Veri Üretim ve Fiziksel Belge Bozulma Motoru (`TurkceDegrade`).
"""
from turkceocr.data.degradation import DegradationResult, TurkceDegrade
from turkceocr.data.hf_loader import (
DatasetSufficiencySummary,
TurkishOCRDataQualityFilter,
TurkishOCRDatasetMixer,
build_stamp_underneath_token_mask,
)
from turkceocr.data.pdf_and_table_engine import (
BornDigitalPDFPairGenerator,
ComplexTableItem,
ComplexTurkishTableRenderer,
)
from turkceocr.data.photometric_ops import (
attenuate_stamp_overlay,
illumination_division_normalization,
remove_table_grid_lines,
)
from turkceocr.data.stamp_signature import (
StampMetadata,
TurkishStampAndSignatureEngine,
)
from turkceocr.data.synthetic_generator import (
AGGLUTINATIVE_HARD_LEXICON,
SyntheticDocumentSample,
TurkishDocumentGenerator,
)
__all__ = [
"TurkceDegrade",
"DegradationResult",
"TurkishStampAndSignatureEngine",
"StampMetadata",
"TurkishDocumentGenerator",
"SyntheticDocumentSample",
"AGGLUTINATIVE_HARD_LEXICON",
"TurkishOCRDatasetMixer",
"TurkishOCRDataQualityFilter",
"DatasetSufficiencySummary",
"build_stamp_underneath_token_mask",
"ComplexTurkishTableRenderer",
"ComplexTableItem",
"BornDigitalPDFPairGenerator",
"illumination_division_normalization",
"remove_table_grid_lines",
"attenuate_stamp_overlay",
]
|