Browse Source

Update SegmentationFreeRecognizer.cpp

pull/1/MERGE
syan GitHub 6 years ago
parent
commit
48eecebebe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Prj-Linux/lpr/src/SegmentationFreeRecognizer.cpp

+ 2
- 2
Prj-Linux/lpr/src/SegmentationFreeRecognizer.cpp View File

@@ -55,7 +55,7 @@ namespace pr {

int i = 0;

if(judgeCharRange(seq_decode_res[0].first) && judgeCharRange(seq_decode_res[1].first))
if (seq_decode_res.size()>1 && judgeCharRange(seq_decode_res[0].first) && judgeCharRange(seq_decode_res[1].first))
{
i=2;
int c = seq_decode_res[0].second<seq_decode_res[1].second;
@@ -115,4 +115,4 @@ namespace pr {
}


}
}

Loading…
Cancel
Save