Skip to content

Update subtitle_ocr.py to accelerate the process - #372

Open
andyischaos wants to merge 1 commit into
YaoFANGUK:mainfrom
andyischaos:main
Open

Update subtitle_ocr.py to accelerate the process#372
andyischaos wants to merge 1 commit into
YaoFANGUK:mainfrom
andyischaos:main

Conversation

@andyischaos

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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

@eritpchy

Copy link
Copy Markdown
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