Update opencv macros

This commit is contained in:
John Zhao
2018-11-05 11:27:28 +08:00
parent d6cb89bc04
commit 66ce5c8ad0
7 changed files with 38 additions and 16 deletions

View File

@@ -178,7 +178,7 @@ cv::Rect CVPainter::DrawText(
y += offset_y;
cv::Point org(x, y);
#ifdef USE_OPENCV2
#ifdef WITH_OPENCV2
cv::putText(
const_cast<cv::Mat &>(img), text, org, FONT_FACE, FONT_SCALE, FONT_COLOR,
THICKNESS);