1#!/usr/bin/env python 2 3import cv2 4 5if __name__ == '__main__': 6 import sys 7 try: 8 param = sys.argv[1] 9 except: 10 param = "" 11 12 if ("--build" == param): 13 print cv2.getBuildInformation() 14 elif ("--help" == param): 15 print "\t--build\n\t\tprint complete build info" 16 print "\t--help\n\t\tprint this help" 17 else: 18 print "Welcome to OpenCV" 19