Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update subtitle_ocr.py to accelerate the process #372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andyischaos
Copy link

move the ocr=OcrRecogniser() out of the while loop to accelerate the process. 7x speed in my case

move the ocr=OcrRecogniser() out of the while loop to accelerate the process. 7x speed in my case
@eritpchy
Copy link
Contributor

我已经忘记当时为什么没有吧这句话抽出来了, 好像是有什么坑在里面,得详细测测

@eritpchy
Copy link
Contributor

仔细看了, 这两行代码不应该存在

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants