diff --git a/Prj-Linux/lpr/src/SegmentationFreeRecognizer.cpp b/Prj-Linux/lpr/src/SegmentationFreeRecognizer.cpp index 8fcd442..2976305 100644 --- a/Prj-Linux/lpr/src/SegmentationFreeRecognizer.cpp +++ b/Prj-Linux/lpr/src/SegmentationFreeRecognizer.cpp @@ -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