I have code from here. It's reference from Neumann L., Matas J.: Real-Time Scene Text Localization and Recognition, CVPR 2012.
Result is rectan of text region, but I need the output like this for analysis.
How to show extremal regions of text in this code? I try to show image by imshow("",regions);
, but it does not work.
in this code
vector< vector<Vec2i> > region_groups;
vector<Rect> groups_boxes;
erGrouping(src, channels, regions, region_groups, groups_boxes, ERGROUPING_ORIENTATION_HORIZ);
sorry for my mistake . I'm not strong langues too!!
I would like to draw region_groups into the white picture