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

J4 ›› 2011, Vol. 33 ›› Issue (1): 97-101.doi: 10.3969/j.issn.1007130X.2011.

• 论文 • Previous Articles     Next Articles

Design of a Common Face Detection Module Based on OpenCV

ZHANG Ying,LI Yongping,AO Xinyu   

  1. (Shanghai Institute of Applied Physics,Chinese Academy of Sciences,Shanghai 201800,China)
  • Received:2009-09-25 Revised:2010-04-15 Online:2011-01-25 Published:2011-01-25

Abstract:

Face detection is an important part in intelligent video surveillance systems. The Adaboost face detection algorithm of OpenCV can process videos in a realtime way. Because of the languages and platforms, very few systems are compatible with such a function. A module of face detection that supports multiple program languages is presented,and the P/Invoke techniques in the .NET and the improved JNI methods for calling the OpenCV face detection module are explained in detail. This module solves the problems of parameter passing among .NET, Java and OpenCV for color images and can be simply integrated into most existing videobased application systems. It also defines a standard interface for module scheduling and can be referenced by more crossplatform applications. The experimental results show that the video systems which integrate this module obtain a high detection rate and realtime processing speed with limited system resources.

Key words: native interface;OpenCV face detection;video surveillance;performance evaluation