Skip to content

Conversation

@stweil
Copy link
Member

@stweil stweil commented Sep 3, 2024

No description provided.

++certainty_count;
best_choice = res_it.word()->best_choice;
mean_certainty = best_choice->certainty();
certainty_count = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't change behavor?

++certainty_count; vs certainty_count = 1;

Copy link
Member Author

@stweil stweil Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial value 0 and a single increment gives value 1. There is no loop around it, only a switch statement.

@stweil stweil merged commit 1b22245 into tesseract-ocr:main Sep 3, 2024
@stweil stweil deleted the assignments branch September 3, 2024 13:41
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