08-08-2023 дата публикации
Номер: CN116563375A
Принадлежит:
A pupil tracking method based on a camera belongs to the technical field of computer vision image processing, and comprises the following steps: S1, pre-processing an image; s2, detecting a human face; step S3, judging whether a human face is detected or not: if yes, performing step S4; if not, whether the face is detected in the previous frame of picture or not is judged, if yes, the step S5 is carried out according to the pupil position determined by the previous frame of picture where the face is detected, and if not, the next picture is extracted, and the step S2 is returned to carry out face detection; s4, performing Gaussian smoothing on the picture; step S5, pupil detection; s6, calculating pupil positions; step S7, extracting a next picture, returning to the step S1 until all pictures are processed, and then performing a step S8; and S8, correcting the coordinates. According to the scheme, the accuracy of the pupil position is guaranteed, and the scheme can adapt to the special ...
Подробнее