A design and implementation of Face Detection hardware

얼굴 검출을 위한 SoC 하드웨어 구현 및 검증

  • Lee, Su-Hyun (Dept of Electronics and Communication Engineering Kwangwoon University) ;
  • Jeong, Yong-Jin (Dept of Electronics and Communication Engineering Kwangwoon University)
  • 이수현 (광운대학교 전자통신공학과) ;
  • 정용진 (광운대학교 전자통신공학과)
  • Published : 2007.04.25

Abstract

This paper presents design and verification of a face detection hardware for real time application. Face detection algorithm detects rough face position based on already acquired feature parameter data. The hardware is composed of five main modules: Integral Image Calculator, Feature Coordinate Calculator, Feature Difference Calculator, Cascade Calculator, and Window Detection. It also includes on-chip Integral Image memory and Feature Parameter memory. The face detection hardware was verified by using S3C2440A CPU of Samsung Electronics, Virtex4LX100 FPGA of Xilinx, and a CCD Camera module. Our design uses 3,251 LUTs of Xilinx FPGA and takes about 1.96${\sim}$0.13 sec for face detection depending on sliding-window step size, when synthesized for Virtex4LX100 FPGA. When synthesized on Magnachip 0.25um ASIC library, it uses about 410,000 gates (Combinational area about 345,000 gates, Noncombinational area about 65,000 gates) and takes less than 0.5 sec for face realtime detection. This size and performance shows that it is adequate to use for embedded system applications. It has been fabricated as a real chip as a part of XF1201 chip and proven to work.

본 논문에서는 실시간 처리를 위한 얼굴 검출 알고리즘의 하드웨어 엔진을 설계하고 검증하였다. 얼굴 검출 알고리즘은 주어진 이미지에서 학습된 얼굴의 특징데이터를 통하여 얼굴의 대략적인 위치를 찾는 연산을 수행한다. 얼굴 검출 알고리즘을 하드웨어 구조로 설계하기 위해 Integral Image Calculator, Feature Coordinate Calculator, Feature Difference Calculator, Cascade Calculator, Window Detector 등의 5 단계로 구조를 나누었으며, On-Chip Integral Image memory 와 Feature Parameter Memory를 설계하였다. 삼성전자의 S3C2440A 프로세서 칩과 Xilinx사의 Virtex4LX100을 이용하여 검증 플랫폼을 구축하고, CCD카메라를 통하여 실제 얼굴의 영상을 받아들여 얼굴 검출을 실시간으로 구동시켜 검증하였다. 설계된 하드웨어는 Virtex4LX100 FPGA를 타겟으로 합성 시에 3,251 LUTs 를 사용하고, 24MHz의 동작 속도에서 검색 윈도우의 이동 간격에 따라 프레임 당 1.96$\sim$0.13 초의 실행속도를 가진다. 그리고 매그나칩 0.25um ASIC 공정으로 제작 시 41만 게이트 (Combinational area 약 34.5만 게이트, Noncombinational area 약 6.5만 게이트)의 크기를 가지며, 100MHz의 동작 속도에서 프레임 당 0.5초 미만의 실행 속도로, 임베디드 시스템의 실시간 얼굴 검출 솔루션에 적합함을 보여준다. 실제 XF1201칩의 일부 모듈로 구현되어 동작함이 확인되었다.

Keywords

References

  1. Paul Viola, and Michael Jones, 'Robust Real-time Object Detection,' Second International workship on Statistical and Computational Theories of Vision-Modeling, Learning, Computing, and Sam pling. Vancouver, Canada, July 13, 2001
  2. 이호근, 정성태, '실시간 얼굴 검출 시스템 설계 및 구현,' Journal 0f Korea Multimedia Society,Vol.8, No.8,pp.1057-1068, August 2005
  3. 이영학, 심재창, '표면 곡률을 이용하여 깊이 가중치 Hausdorff 거리를 적용한 3차원 얼굴 영상 인식,' Journal 0f Korea Multimedia Society, Vol.8, No.1, pp.34-45, January 2005
  4. Rein-Lien Hsu, Mohamed Abdel-Mottaleb, Anil K. Jain, 'Face Detection in Color Images,' IEEE Transaction on Pattern Analysis and Machine Intelligence, Vol.24, No.5, pp.696-706, May 2002 https://doi.org/10.1109/34.1000242
  5. 조한수, '분포맵에 기반한 얼굴 영역 검출,' Juornal of Korea Multimedia Society, Vol.9, No.1, pp.11- 22, January 2006
  6. 권혁봉, 권동진, 장언동, 윤영복, 안재형, 'YCbCr 색공간에서 피부색과 윤곽선 정보를 이용한 얼굴 영역 검출,' Journal of Korea Multimedia Society Vol.7 No.1, pp.27-34, January 2004
  7. C. Papageorgiou, M. Oren, and T.Poggio. 'A general framework for Object Detection,' In International Conference on Computer Vision, 1998
  8. Paul Viola, and Michael Jones, 'Rapid object detection using a boosted cascade of simple features,' Computer Vision and Pattern Recognition 2001(CVPR 2001), Vol.1, pp.511-518, Dec. 2001 https://doi.org/10.1109/CVPR.2001.990517
  9. Lienhart, R and Maydt, J, 'An extended set of Haar-like features for rapid object detection,' International Conference on Image Processing 2002(ICIP2001), Vol. 1, pp.900-903, Sept. 2002 https://doi.org/10.1109/ICIP.2002.1038171
  10. 김영진, 정성윤, 정용진, 'SoC 하드웨어 설계를 위한 얼굴 인식 알고리즘의 고정 소수점 모델 구현 및 성능 분석,' SoC 학술대회, 대학전자공학회, May, 2006
  11. Verification IP AMBA Platform User's Guide ver 1.5,(c)Huins, August 23, 2005
  12. S3C2440A 32-Bit CMOS Microcontroller User's Manual Revision 1, (c)Samsung Electronics, 2004
  13. Bluesky2410/2440 Reference Manual V1.0, (c)EMlinux, 2004
  14. XF1201 Data Sheet Rev.01, (c)Core Information System, July 2006
  15. POSTECH. Intelligent Multimedia Laboratory, 'Face Image Database', http://nova.postech.ac.kr