Subversion Repositories OpenCV2-Cookbook

Compare Revisions

Last modification

Ignore whitespace Rev 5 → Rev 3

/trunk/Chapter 01/main1.cpp
21,7 → 21,7
int main() {
 
// read an image
cv::Mat image= cv::imread("baboon1.jpg");
cv::Mat image= cv::imread("img.jpg");
// create image window named "My Image"
cv::namedWindow("My Image");
// show the image on window