报错代码:
error: no match for ‘operator=’ (operand types are ‘CvPoint’ and ‘cv::Point’ {aka ‘cv::Point_<int>’})
157 | textOrg = cv::Point(ctx.topLeft.x, ctx.botRight.y + baseline);
解决问题:
找到报错代码位置为region_tlr.cpp,将对应的157行代码改为:
// textOrg = cv::Point(ctx.topLeft.x, ctx.botRight.y + baseline);
textOrg = cvPoint(ctx.topLeft.x, ctx.botRight.y + baseline);
问题解决。