Given a video like: https://www.youtube.com/watch?v=cNHeiIM5xZI
Is there any library or tool that supports extraction of subtitle?
Extraction of subtitle in sequence would be sufficient, it would be plus if it can extracts the timestamp as well.
Given a video like: https://www.youtube.com/watch?v=cNHeiIM5xZI
Is there any library or tool that supports extraction of subtitle?
Extraction of subtitle in sequence would be sufficient, it would be plus if it can extracts the timestamp as well.
You can use the Stroke Width Transform to find the bounding box of all (horizontal) text in each frame. If the position and size are suitable then you can assume it is the subtitles.
The processed frame number will give you the time-stamp relative to the beginning.