Log in

View Full Version : i & l via OCR


rackham
4th May 2005, 08:37
hi

anyone can tell me how do make Subrip recognize the differnce between an "I" (aka "i") and an "l" (aka "L") ???

quite many .subs seem to use some kind of letters that make those two look realy similar

thx

niamh
4th May 2005, 09:54
Use its ocr correction feature after ocring it.

Dark-Cracker
4th May 2005, 18:10
generaly the correction beetween I and l are made after the ocr the simple way is to check if the letter before or after the letter "I" is in lowercase this mean it's not an "I" but an "l", but there is surely some other algo more clever to detect them.

ai4spam
4th May 2005, 20:40
Yes, and it's all hard-coded, depending on language.
SubtitleWorkshop's approach is nicer, but no support is planned for scripts in SubRip, as far as I know.

rackham
4th May 2005, 21:36
thx for the replys...

ocr-correction dosenīt work realy perfect, but hey, still better than nothing...

it ainīt that hard to tell if itīs an i or an l... but just a lot of work i thought i could get around by some nice trick...

niamh
4th May 2005, 22:44
use the error correction in subtitle workshop then, it's 99.9% accurate for I and L. it's the one I use anyway