First time here? Check out the FAQ!
answered 2014-01-31 15:44:54 -0600
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);