Fixed regex issue in classifychars

This commit is contained in:
Matt Hill
2015-08-03 18:52:08 -04:00
parent 7652e8107f
commit 840df39cc8

View File

@@ -324,7 +324,7 @@ vector<string> showCharSelection(Mat image, vector<Rect> charRegions, string sta
for (int i = 0; i < charRegions.size(); i++)
humanInputs[i] = SPACE;
RegexRule regex_rule("", "[\\p{Digit}\\p{Alpha}]");
RegexRule regex_rule("", "[\\pL\\pN]");
int16_t waitkey = waitKey(50);
while (waitkey != ENTER_KEY && waitkey != ESCAPE_KEY)