mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 05:00:54 +08:00
Fixing issue #261
This commit is contained in:
@@ -114,7 +114,8 @@ namespace alpr
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
const char* choice = ci.GetUTF8Text();
|
const char* choice = ci.GetUTF8Text();
|
||||||
|
//1/17/2016 adt adding check to avoid double adding same character if ci is same as symbol. Otherwise first choice from ResultsIterator will get added twice when choiceIterator run.
|
||||||
|
if (string(symbol) != string(choice))
|
||||||
postProcessor.addLetter(string(choice), line_idx, absolute_charpos, ci.Confidence());
|
postProcessor.addLetter(string(choice), line_idx, absolute_charpos, ci.Confidence());
|
||||||
|
|
||||||
if (this->config->debugOcr)
|
if (this->config->debugOcr)
|
||||||
|
Reference in New Issue
Block a user