videocr
videocr copied to clipboard
Extract hardcoded subtitles from videos using machine learning
``` Traceback (most recent call last): File "run.py", line 7, in print(get_subtitles(video, lang='chi_sim+eng', sim_threshold=70, conf_threshold=65)) File "/home/ubuntu/Github/videocr/env/lib/python3.8/site-packages/videocr/api.py", line 8, in get_subtitles utils.download_lang_data(lang) File "/home/ubuntu/Github/videocr/env/lib/python3.8/site-packages/videocr/utils.py", line 21, in download_lang_data with urlopen(url)...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.0 to 9.0.1. Release notes Sourced from pillow's releases. 9.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html Changes In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [@radarhere, @hugovk] Restrict builtins within...
- Recently I use this repo to extract the subtitle, but I found the Tesseract is very hardly to use. - I combined RapidOCR and the code of this repo,...
Hi there, this software is very interesting. We wanna suggest you to build a Google-Colab notebook version in order to let users to try it online. Check out (and, whly...
執行後沒有結果
有照著另一篇給的教學操作 不過在最後輸入python get_sub.py之後 雖然資料夾內有出現subtitle.srt CPU滿載結束後,裏頭也沒有字幕 之後就出現這個訊息 
运行错误
OS: fedora 31 Python: 3.7 代码: from videocr import get_subtitles if __name__ == '__main__': # This check is mandatory for Windows. print(get_subtitles('22.mp4', lang='chi_sim+eng', sim_threshold=70, conf_threshold=65,use_fullframe=False)) 执行后cpu满载运行,提示: `Traceback (most recent call...
十分感谢您!但是如果我输出中并不需要有时间轴,请问有什么接口可以取消输出时间轴只输出文字吗?谢谢
见鬼了,这么多人用都没发现已经无法运行了吗? `Traceback (most recent call last): File "/Users/wangyeming/workspace/python/SubOCR/ocr.py", line 9, in save_subtitles_to_file( File "/Users/wangyeming/SubOCR/lib/python3.8/site-packages/videocr/api.py", line 20, in save_subtitles_to_file f.write(get_subtitles( File "/Users/wangyeming/SubOCR/lib/python3.8/site-packages/videocr/api.py", line 8, in get_subtitles utils.download_lang_data(lang) File "/Users/wangyeming/SubOCR/lib/python3.8/site-packages/videocr/utils.py", line 21,...
Try to this [webpages](https://github.com/tesseract-ocr/tessdata_fast) and this [one](https://github.com/tesseract-ocr/tessdata_best).
作者你好,我想请问下在进行OCR前是否对图像进行处理? 还有就是能否增加新的功能,就不并不对每一帧进行识别,设置好时间间隔进行识别? 谢谢!