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

Fix reading of parameter from traineddata normproto component and make function independent of locale #2430

Merged
merged 2 commits into from
May 12, 2019

Conversation

stweil
Copy link
Contributor

@stweil stweil commented May 12, 2019

The NonEssential parameter was wrongly derived from linear_token instead
of essential_token and therefore always set to true.

Signed-off-by: Stefan Weil sw@weilnetz.de

The NonEssential parameter was wrongly derived from linear_token instead
of essential_token and therefore always set to true.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
@ghost ghost assigned stweil May 12, 2019
@ghost ghost added the review label May 12, 2019
@stweil stweil added the bug label May 12, 2019
Using std::istringstream allows conversion of string to float
independent of the current locale setting.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil stweil changed the title Fix reading of parameter from traineddata normproto component Fix reading of parameter from traineddata normproto component and make function independent of locale May 12, 2019
@stweil stweil added this to the 4.1.0 milestone May 12, 2019
@zdenop
Copy link
Contributor

zdenop commented May 12, 2019

thanks

@zdenop zdenop merged commit 746674f into tesseract-ocr:master May 12, 2019
@ghost ghost removed the review label May 12, 2019
@stweil stweil deleted the fix branch May 12, 2019 14:07
@amitdo amitdo added the locale label Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants