Nov-23-2020, 10:44 AM
Ok, installed numpy, now I'm getting
C:\Users\Admin>D:\movies\example.py
Traceback (most recent call last):
File "D:\movies\example.py", line 6, in <module>
print(get_subtitles('Bhakta Dhruva.mp4', lang='eng', sim_threshold=70, conf_threshold=65))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\videocr\api.py", line 10, in get_subtitles
v = Video(video_path)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\videocr\video.py", line 26, in __init__
with Capture(path) as v:
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\videocr\opencv_adapter.py", line 11, in __enter__
raise IOError('Can not open video {}.'.format(self.path))
OSError: Can not open video Bhakta Dhruva.mp4.
C:\Users\Admin>D:\movies\example.py
Traceback (most recent call last):
File "D:\movies\example.py", line 6, in <module>
print(get_subtitles('Bhakta Dhruva.mp4', lang='eng', sim_threshold=70, conf_threshold=65))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\videocr\api.py", line 10, in get_subtitles
v = Video(video_path)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\videocr\video.py", line 26, in __init__
with Capture(path) as v:
File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\videocr\opencv_adapter.py", line 11, in __enter__
raise IOError('Can not open video {}.'.format(self.path))
OSError: Can not open video Bhakta Dhruva.mp4.