A new accurate calibrating technique for intrinsic parameters and extrinsic parameters of CCD camera is described. The camera model is derived by the pinhole projection theory. Then other parameters of the model are resolved under the radial alignment constraints and orthogonal constraints. In order to get a fine initial guess for the nonlinear searching solution, the least square method is introduced, and finally uses radial alignment constraint method to get the results. The experimental results show that the mean absolute differences in x direction and y direction are 0.0070 and 0.1430 separately while the standard deviation are 0.5006 and 1.2046 separately.