The advantage of OpenCV over the existing computer vision library is discussed.The environment configuration,data definition and the access to image element of OpenCV are described.OpenCV has become an open source computer vision software package,which has advanced mathematical calculation function,image processing function and computer vision function.It is of ceaseless renewal and is platform independent.Two examples are demonstrated,and partial features of OpenCV are indicated.