Make imgproc.hpp independent from C API

This commit is contained in:
Andrey Kamaev
2013-04-06 18:16:51 +04:00
parent 7ac0d86992
commit 288a0634c2
95 changed files with 1400 additions and 1300 deletions

View File

@@ -52,7 +52,7 @@ namespace
if (frame.empty())
break;
cv::Mat gray;
cv::cvtColor(frame,gray,CV_RGB2GRAY);
cv::cvtColor(frame,gray, COLOR_RGB2GRAY);
vector<String> codes;
Mat corners;
findDataMatrix(gray, codes, corners);