• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

Face detection and location tracking based on Mega2560

LI Dong-jie,HE An-hua   

  1. (School of Automation,Harbin University of Science and Technology,Harbin 150080,China)
  • Received:2015-09-06 Revised:2015-11-05 Online:2016-10-25 Published:2016-10-25

Abstract:

In order to solve the problem of external interference on human face detection and accurate tracking and avoid relying too heavily on soft technology which can increase algorithm complexity,we propose a method for face detection and accurate location tracking  based on Mega2560 microcomputer (MCU),VS2008 development environment and OpenCV function libraries.The proposal combines software with hardware.To realize face detection,we first use Haar-like features method to find out the facial feature rectangule in the image and generate a cascade classifier via the AdaBoost algorithm.Then we select the image display window as the origin of the coordinate and calculate the location of face.Using the linear transformation method we can acquire  face location deviation,which is converted into angular deviation and sent to the lower machine Mega2560.Finally we employ the MCU to control the camera according to the received angular deviation information,which guarantees the face staying at the origin position all the time,thus acomplishing face location and accurate tracking.Experimental results show that the proposed system has good stability and accuracy.

Key words: face detection, Haar-like features method, AdaBoost algorithm, locating and tracking