r/SubtitleEdit • u/Miserable-Package306 • Oct 17 '26
Help OCR recognize italic text
Does anyone know which OCR engines somewhat reliably recognize italic text? I've tried several, even with custom prompts for llama, but I can't get correct italic tags.
2
Upvotes
2
u/NSFW_Sub_Dev Oct 20 '26
For a consistent DVD/Blu-ray font, nOCR is worth a small test rather than another LLM prompt. Subtitle Edit's current OCR docs describe training nOCR with italic samples and handling mixed upright/italic characters in nOCR and Binary OCR. That isn't a guarantee for every source.
Try a few fully italic, plain, and mixed cues. Compare the actual <i>...</i> tags against the original bitmaps, not just the preview. If tags exist before export but disappear afterward, that's an export/formatting problem rather than failed italic recognition. Keep the original image subtitles for manual review of exceptions.
Which SE version and source format are you using: PGS, VobSub, or burned-in? Are tags missing entirely, or applied to the wrong words?
1
u/pagan-soyboy 20d ago
ive been running mine with a combination of rapidOCR / paddle and then i vibecoded claude to write a script that sends chunks the text into rendered images with associated OCR'd text. then it sends it to opus 5.5 with a fine-tuned system prompt on correcting the OCR'd text for italics and spelling and char recognition (eg ./, mismatch) and stuff.
1
u/Fit-Goal-4628 19d ago
Try nOCR, extremely fast and accurate for e.g. Blu-ray sup subtitles - and recognizes italic text.