{"action":"opened","issue":{"url":"https://api.github.com/repos/SubtitleEdit/subtitleedit/issues/1328","labels_url":"https://api.github.com/repos/SubtitleEdit/subtitleedit/issues/1328/labels{/name}","comments_url":"https://api.github.com/repos/SubtitleEdit/subtitleedit/issues/1328/comments","events_url":"https://api.github.com/repos/SubtitleEdit/subtitleedit/issues/1328/events","html_url":"https://github.com/SubtitleEdit/subtitleedit/issues/1328","id":108447590,"number":1328,"title":"[Cool Feature Discussion] OCR for OSD subtitle extraction","user":{"login":"LeonCheung","id":494788,"avatar_url":"https://avatars.githubusercontent.com/u/494788?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonCheung","html_url":"https://github.com/LeonCheung","followers_url":"https://api.github.com/users/LeonCheung/followers","following_url":"https://api.github.com/users/LeonCheung/following{/other_user}","gists_url":"https://api.github.com/users/LeonCheung/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonCheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonCheung/subscriptions","organizations_url":"https://api.github.com/users/LeonCheung/orgs","repos_url":"https://api.github.com/users/LeonCheung/repos","events_url":"https://api.github.com/users/LeonCheung/events{/privacy}","received_events_url":"https://api.github.com/users/LeonCheung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-26T07:55:45Z","updated_at":"2015-09-26T07:55:45Z","closed_at":null,"body":"There are cases that we want to do the \"reverse engineering\" thing, to be specific, to extract on screen displayed subtitles that had been hardcoded into the video stream. OCR could be the ideal solution.\r\n\r\n![osd_sub_example](https://cloud.githubusercontent.com/assets/494788/10116336/bee3041e-6463-11e5-9fbd-b73cf202f9cc.jpg)\r\n\r\nFor the example above, if we can define a rectangle that can cover the subtitle only, and separate that area as source input OCR engine, then it would be much more effective to extract all subtlte texts from a 90-mimute movie than typing / transcripting manually (perhaps 100+ times faster!)\r\n\r\nASAIK, a little software called esrXP shares the similar concept, which has some simple image processing tools, such brightness, contrast, RGB to BW, etc. to make the source images more readable for the engine. The accuracy can be 90% or even more if being set properly.\r\n\r\nIt's just a proto idea. FYI  :)"}}