摘要
人脸跟踪系统的构建已成为现代计算机视觉研究的热点。提出一种基于OpenCV和USB的实时人脸跟踪系统。利用基于HAAR特征人脸检测算法,并能够判断距离,编写Windows Win32程序调用串口API和下位单片机STC12C5410通信,采用CH341A芯片将RS232串口数据加载到USB协议数据栈中实现USB传输,单片机控制FUTABA舵机,获取上位机人脸检测坐标信息,实时调整舵机转动角度,使人脸始终处于图像中间一定阈值范围内,达到人脸跟踪。该系统结构精简,可作为模块用于门禁安保系统及构建其他机器人研究平台。
Face Tracking System has become a hotspot of modern computer vision research.Then it comes to the generation of Real-time Face Tracking System based on OpenCV and USB.Account of the HAAR Face Detection Algorithm which has the ability to judge distance.API Serial and microcontroller STC12C5410 can achieve the call communication by writing program of Windows WIN32,added the RS232 serial data to the USB protocol stack with CH341A chip to implement USB data transmission.Microprocessor control FUTABA rudder machine to obtain coordinate information of face detection from the PC,with real-time adjustment of rotation angle of the steering gear to guarantee the face is always in the middle of the image within a certain threshold.That is Face tracking.
出处
《工业控制计算机》
2010年第11期13-14,共2页
Industrial Control Computer
基金
国家大学生创新性实验计划项目(编号:101042210)