Ripping raw subtitles using OCR, from .AVI files?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ingolf
    Junior Member
    Junior Member
    • Jul 2002
    • 10

    Ripping raw subtitles using OCR, from .AVI files?

    Hi

    I need to rip subtitles from an AVI file i have recorded from TV, using my tv tuner card.

    The subtitles appear in a fixed position on the frame, and i have tried to cut out just the subtitle part, using vdub and nulltransform, resulting in bitmap files, dimensions 768x82.

    The subtitle part does not contain any 'junk' in the background, its completely black, since the movie i recorded has black borders in top and bottom.

    After a lot of trial and error, i found out that its possible to get SubRip to recognize the subtitles, as bitmaps.

    I needed to add the filter 'Thresold' in vdub, and export the cropped frames as .BMP files. The Thresold filter ensures that there is only 2 colors in the bitmap, eventhou they are saved as 24bpp.

    Anyway.. i got SubRip working on the images, but after telling SubRip how the letter 'H' looks like, for the 200th time.. i kinda gave it up.

    Seems that SubRip must have an 100% identical frame to work properly. No fuzzylogic/neural network in this ocr engine...

    I have tried adding tons of filters to get the text stand absolutely still, and with minimal flicker, like smoother, denoise, dyn. noise reduction, temporal cleaner, proximity locker, etc etc ... but all to no avail..

    This is 2 different bitmaps, of the same text:




    Is there another program outthere that can do as SubRip, but uses some kind of fuzzy logic? Maybe a filter which will work with only 2 colors, and totally lock the subtitles...(looking 25 or more frames ahead)
Working...