new to open cv help please

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

new to open cv help please

sarmad
This post has NOT been accepted by the mailing list yet.
Hi im new t opencv and C++

colud anyone please explain what is    

int main( int argc, char** argv )

in this code ?

int main( int argc, char** argv )
{
        IplImage* img = cvLoadImage( argv[1] );
        cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE );
        cvShowImage("Example1", img );
        cvWaitKey(0);
        cvReleaseImage( &img );
        cvDestroyWindow("Example1");
}