#include <opencv2/core/utility.hpp>#include <iostream>constchar*keys={"{ b build | | print complete build info }""{ h help | | print this help }"};intmain(intargc,constchar*argv[]){cv::CommandLineParserparser(argc,argv,keys);if(parser.has("help")){parser.printMessage();}elseif(!parser.check()){parser.printErrors();}elseif(parser.has("build")){std::cout<<cv::getBuildInformation()<<std::endl;}else{std::cout<<"Welcome to OpenCV "<<CV_VERSION<<std::endl;}return0;}