进行人脸跟踪时,人脸出现快速移动、姿态大幅偏转及被遮挡的情况会导致人脸跟踪失败。针对以上问题,结合Haar-like特征与Adaboost算法对正面人脸进行跟踪,当人脸姿态出现大幅度偏转或被遮挡时,使用人脸肤色的直方图特征与Camshift算法对人脸进行跟踪。为提高人脸跟踪算法的运行效率,使用强跟踪Kalman滤波算法对人脸在下一帧图像中可能出现的位置进行预测,缩小人脸检测的搜索区域,提高人脸跟踪算法的实时性。实验验证了该算法在视频人脸跟踪方面具有较好的鲁棒性和实时性。
A face tracking algorithm was presented to solve the problem of face tracking failure caused by fast face move,deflected face pose and occluded face.To solve the problem,Haar-like feature and Adaboost algorithm were combined to detect and track the frontal face.When face pose was greatly deflected or face was occluded,the face skin color histogram was taken as the detection feature and the Camshift algorithm was combined to detect and track the face.Strong tracking Kalman filter was used to predict the possible position of the face in the next frame,reducing the search region of face detection and improving the efficiency of the face tracking algorithm.Experimental results show that the proposed algorithm has good performance on the robustness and efficiency of face tracking in videos.