5 ms·
Could isolate the text by compositing neighbor images and getting the pixels that don't differ. The background is moving, the text is not. This would also allo
by mmanfrin 9y ago
Could isolate the text by compositing neighbor images and getting the pixels that don't differ. The background is moving, the text is not.
This would also allow you to extract out the subs without having to OCR them/get characters. Could just erase all static artifacts (including subs but also things like watermarks).
- wolfgang42 9y agoThis only works if the camera isn't fixed, though. In the frame from the post it might erase the dashboard, the car roof, and so on.
- killin_dan 9y agoJust define a small area of the screen to run on then. Subtitles are typically within a very small portion of the screen
- thebooktocome 9y agoNope, every channel of CCTV seems to have its own subtitle convention.
- killin_dan 9y agoWhich is irrelevant to stripping subs from one movie at a time.
- KerrickStaley 9y agoAn approach I really want to try is taking a stream of the video without subs (can easily be found online) and subtracting the two. You'd have to deal with differences in resolution and compression between the two, and also handle cases where the background is either white or black, but in theory it should work very well. I haven't had time to dig into this.
- stuaxo 9y agoThis has to be worth a try.
- 0xfeba 9y agoSeems like you could get gstreamer and some subtractive elements working pretty quick...
- gbaygon 9y agoLegitimate question: why would you want the first video (hardcoded subs) if you have a second stream without them, better resolution maybe?
- kpozin 9y agoIn order to have access to vocabulary words. From the article: > I wanted to get a transcript of the episode’s dialog so I could study the unfamiliar vocabulary. Unfortunately, the video files I have only have hard subtitles
- gbaygon 9y agoMakes sense, thanks. I went straight to the technical details and missed that part.