#36 Incorrect character rejection

open
nobody
5
2011-07-25
2011-07-25
Tom Richens
No

Chacracter is rejected at lines.c line 203
if (box2->num_ac && box2->wac[0]<JOB->cfg.certainty) box2->c=UNKNOWN;
This happens even when tac[0] is the same as box2->c.
This arose with a filter limiting the character set to numerals for a barcode; both rekjected character and alternative character were "1".
The immediate remedy I adopted was to change this linwe to:
if (box2->num_ac && box2->wac[0]<JOB->cfg.certainty && box2->c != box2->tac[0]) box2->c=UNKNOWN;
This corrects the output though it may not address the underlying cause.
The image file is 3 megabytes. I can send on request.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks