Go to file
2019-04-29 04:14:35 +02:00
videocr make sim_threshold adjustable through api 2019-04-29 03:50:06 +02:00
.gitignore add initial models 2019-04-20 23:21:41 +02:00
LICENSE add LICENSE 2019-04-29 03:56:43 +02:00
Pipfile remove pillow from Pipfile 2019-04-29 04:00:54 +02:00
Pipfile.lock remove pillow from Pipfile 2019-04-29 04:00:54 +02:00
README.md add README 2019-04-29 04:14:35 +02:00

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.