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

[Bug]: Mocr prob #771

Open
eren-ay opened this issue Dec 3, 2024 · 1 comment
Open

[Bug]: Mocr prob #771

eren-ay opened this issue Dec 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@eren-ay
Copy link

eren-ay commented Dec 3, 2024

Issue

Probability has no meaning in mocr because we run 2 run model one of them mocr for text detection other one for text properties like color. if mocr detects we don't know prob of text we use 48px models prob.If the text probability of the 48px model is less than 0.2, we pass, but this is irrelevant to the probability of the text detected in the mocr model. We need to delete in the model_manga_ocr.py file
if prob < 0.2:
continue

Command Line Arguments

No response

Console logs

No response

@eren-ay eren-ay added the bug Something isn't working label Dec 3, 2024
@eren-ay
Copy link
Author

eren-ay commented Dec 3, 2024

In cases where the probability is lower 0.2 and mocr text exist, the program just freezes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant