Permalink
Browse files

Fixed for latest version of OpenCV API

  • Loading branch information...
1 parent 1a603c3 commit aec263d257b2ab4f47affa96fd885020b488bc4e @bmcdorman bmcdorman committed Oct 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cv_widget.cpp
View
@@ -37,7 +37,7 @@ void CvWidget::updateImage(const cv::Mat &image)
return;
}
- cv::cvtColor(image, m_image, CV_BGR2RGB);
+ cv::cvtColor(image, m_image, cv::COLOR_BGR2RGB);
scaleImage();
update();
m_mutex.unlock();

0 comments on commit aec263d

Please sign in to comment.