Subversion Repositories OpenCV2-Cookbook

Compare Revisions

Last modification

Ignore whitespace Rev 3 → Rev 5

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