Diff between trocr-printed and trocr-handwritten

what’s the Diff between trocr-printed and trocr-handwritten, other than the dataset they were trained on, because I inference an image with both the model and found handwritten gave correct output but printed missed a character

Hi,

There’s no difference other than the datasets they were fine-tuned on. TrOCR-printed will be better at printed text (see the images in the SROIE dataset), while TrOCR-handwritten will be better at handwritten text (see some sample images of the IAM dataset).

1 Like

so the handwritten model prediction being correct and printed model being incorrect would be random