This is a finetuned version of TROCR Large specialized in handwritten text recognition for Arabic and English languages.
This is a finetuned version of Microsoft's TROCR Large model, adapted for handwritten text recognition in Arabic and English languages using the Khatt and IAM Handwriting datasets.
This model is intended for handwritten text recognition in Arabic and English documents.
Users should be aware that the model is specifically trained for Arabic and English handwritten text and may not perform well on other languages or printed text.
1# Sample code to load the model
2from transformers import TrOCRProcessor, VisionEncoderDecoderModel
3
4processor = TrOCRProcessor.from_pretrained("David-Magdy/TR_OCR_LARGE")
5model = VisionEncoderDecoderModel.from_pretrained("David-Magdy/TR_OCR_LARGE")