mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 08:44:11 +08:00

committed by
Alexander Alekhin

parent
e70a4c423b
commit
078c45633d
@@ -233,7 +233,7 @@ int main(int argc, char *argv[])
|
||||
ocr->run(group_img, output, &boxes, &words, &confidences, OCR_LEVEL_WORD);
|
||||
|
||||
output.erase(remove(output.begin(), output.end(), '\n'), output.end());
|
||||
//cout << "OCR output = \"" << output << "\" lenght = " << output.size() << endl;
|
||||
//cout << "OCR output = \"" << output << "\" length = " << output.size() << endl;
|
||||
if (output.size() < 3)
|
||||
continue;
|
||||
|
||||
|
Reference in New Issue
Block a user