Abstract In order to ameliorate deficiencies existing in eye tracking devices, a new method of eye tracking technology using the five near-infrared light as the source of corneal reflex is put forward and it overcomes the shortcoming of existing devices, such as complex, having too many restriction on the position and needing to wear special equipment, and so on. This method does not need any wearing equipment and can adapt to the natural head movement, the algorithm designed calculates the position of sight in high accuracy. A new method of pupil edge fitting is put forward to fit circularly and remove false points to get accurate position of pupil center in order to improve mapping accuracy. The grayscale of image is used to initialize eye position quickly and accurately. The theory of cross-ratio invariance is used to make coordinate mapping and calculate the attention coordinate accurately.