diff --git a/README.md b/README.md new file mode 100644 index 0000000..e116f2a --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# videocr + +screenshot + +screenshot + +screenshot + +``` +import videocr + +print(videocr.get_subtitles('video.avi', lang='HanS')) + +``` + +Output: + +``` +0 +00:00:00,000 --> 00:00:02,711 +-谢谢 … 你 好 -谢谢 +Thank you...Hi. Thanks. + +1 +00:00:02,794 --> 00:00:04,879 +喝 点 什么 ? +What can I get you? + +2 +00:00:05,046 --> 00:00:12,554 +休闲 时 光 … +For relaxing times, make it... + +3 +00:00:12,804 --> 00:00:14,723 +三 得 利 时 光 +Bartender, Bob Suntory time. + +4 +00:00:16,474 --> 00:00:19,144 +Un, I'll have a vodka tonic. + +5 +00:00:19,394 --> 00:00:20,687 +谢谢 +Laughs Thanks. + +```