Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

cv::Mat src = cv::Imread("filepath.jpg",CV_LOAD_IMAGE_COLOR);

or:

cv::Mat src = cv::Imread("/home/you/pictures/filepath.jpg",CV_LOAD_IMAGE_COLOR);