VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. hi, what is the most reliable way to OCR some hardsubs and create an srt file nowadays?
    Quote Quote  
  2. oh, ok I see..
    I read:

    # Can be used to remove hardcoded subtitles or extract them to images for OCR.

    Subtitle extractor default parameters:
    SubsMask2Img( ImgDir="", CorrTh=0.8, SubTune=210, SubMinDur=12, SubSuspect=0, ImgType="png", ImgInflate=0, ImgInvert=0, ImgSize=1 )

    SubsMask2Img: New option to extract raw non-binarized images.
    # Enabled by "Extract=2" in InpaintDelogo() or "Raw" in SubsMask2Img().

    New: "Extract" parameter to extract subtitles to images for OCR.


    I'll try to read and understand it, sooner or later
    thanks.
    Quote Quote  
  3. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    You can't remove hardcoded subtitles,just extracting them is all you can do.
    I think,therefore i am a hamster.
    Quote Quote  
  4. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Originally Posted by johns0 View Post
    You can't remove hardcoded subtitles,just extracting them is all you can do.
    You can. Btw, pics below are far from the best examples, about ~"medium quality" examples from what can be done:

    Before:


    After:



    Before:


    After:
    Quote Quote  
  5. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Those are just pictures,it would take too long to remove them with logos that constantly change.
    I think,therefore i am a hamster.
    Quote Quote  
  6. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Originally Posted by johns0 View Post
    Those are just pictures,
    Those are screenshots from the videos.

    Originally Posted by johns0 View Post
    it would take too long...
    What that means?
    To same effect I can say that it's 100000 times faster than what they are doing with AI upscalers, and 100 times faster than some deinterlacing or noise removal.

    Originally Posted by johns0 View Post
    ...to remove them with logos that constantly change.
    Actually it's opposite, with static constant logo you need to process all frames, when subs are only in some frames.


    Here is a high quality example of hardsubs removal:

    Before:


    After:
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!