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

Add NoneType judgment logic to the PDF file translation process. #5

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

Conversation

JokerForCode
Copy link

When the ocr.ocr(roi_img, cls=True) function is called, it may sometimes return a None value for the result. It is necessary to implement judgment logic to handle this scenario

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.

1 participant