山东科学 ›› 2011, Vol. 24 ›› Issue (6): 96-100.doi: 10.3976/j.issn.1002-4026.2011.06.024

• • 上一篇    

网上报名照片的人脸自动检测和裁剪系统

 刘芳梅, 杨云   

  1. 山东职业学院,山东 济南 250104
  • 收稿日期:2011-07-12 出版日期:2011-12-20 发布日期:2011-12-20

Face automatic detection and cutting system for online registration photograph

 LIU Fang-Mei, YANG Yun   

  1. Shandong Polytechnic, Jinan 250104, China
  • Received:2011-07-12 Online:2011-12-20 Published:2011-12-20

摘要:

      设计了基于肤色空间和积分投影的人脸检测和剪裁系统。首先对输入的图像建立YCbCr肤色模型,选择一部分皮肤区域样本,通过实验统计确定色度阈值的上限和下限,采用"双重阈值"方法将皮肤区域分割出来,然后对二值化图像进行形态学处理,最后进行水平积分投影和垂直积分投影,找到眼睛进而确定人脸区域,同时按要求进行裁剪图像。在输入图像被限定在“包含单张免冠人脸、角度正位、面部清晰、表情自然神态庄重”的条件下,检测准确率达96%以上。本系统实用性强,操作简单。

关键词: 网上报名照片, 人脸检测, 裁剪

Abstract:

     This article designed a face detecting and cutting system based on skincolor space and integral projection. Firstly, this article set skin color model from the input image. In this step, a part of the skin area sample is selected,upper limit and lower limit of chroma threshold by experimental statistics is determined, and then the skin area is cutout by “double threshold” methods. Secondly, morphological process binarization image is carried out. Finally, integral horizontal projection and vertical projection are made, the skin area is determined by locating eyes, and the image is cut in accordance with the requirements. In condition that input images are limited to “contain single bareheaded face, face clear, expression natural and solemn”, our detection accuracy is above 96%. This system has strong practicability, and is easy to operate.

Key words: online registration photograph, face detection, cutting

中图分类号: 

  • TP391.41

开放获取 本文遵循知识共享-署名-非商业性4.0国际许可协议(CC BY-NC 4.0),允许第三方对本刊发表的论文自由共享(即在任何媒介以任何形式复制、发行原文)、演绎(即修改、转换或以原文为基础进行创作),必须给出适当的署名,提供指向本文许可协议的链接,同时表明是否对原文作了修改,不得将本文用于商业目的。CC BY-NC 4.0许可协议详情请访问 https://creativecommons.org/licenses/by-nc/4.0