Face detection in C

Soto Entrena, Roberto E Javier Jr. · 2012

Actualmente la deteccion del rostro humano es un tema dificil debido a varios parametros implicados. Llega a ser de interes cada vez mayor en diversos campos de aplicaciones como en la identificacion personal, la interface hombre-maquina, etc. La mayoria de las imagenes del rostro contienen un fondo que se debe eliminar/discriminar para poder asi detectar el rostro humano. Asi, este proyecto trata el diseno y la implementacion de un sistema de deteccion facial humana, como el primer paso en el proceso, dejando abierto el camino, para en un posible futuro, ampliar este proyecto al siguiente paso, que seria, el Reconocimiento Facial, tema que no trataremos aqui. En la literatura cientifica, uno de los trabajos mas importantes de deteccion de rostros en tiempo real es el algoritmo de Viola and Jones, que ha sido tras su uso y con las librerias de Open CV, el algoritmo elegido para el desarrollo de este proyecto. A continuacion explicare un breve resumen sobre el funcionamiento de mi aplicacion. Mi aplicacion puede capturar video en tiempo real y reconocer el rostro que la Webcam captura frente al resto de objetos que se pueden visualizar a traves de ella. Para saber que el rostro es detectado, este es recuadrado en su totalidad y seguido si este mueve. A su vez, si el usuario lo desea, puede guardar la imagen que la camara este mostrando, pudiendola almacenar en cualquier directorio del PC. Ademas, inclui la opcion de poder detectar el rostro humano sobre una imagen fija, cualquiera que tengamos guardada en nuestro PC, siendo mostradas el numero de caras detectadas y pudiendo visualizarlas sucesivamente cuantas veces queramos. Para todo ello como bien he mencionado antes, el algoritmo usado para la deteccion facial es el de Viola and Jones. Este algoritmo se basa en el escaneo de toda la superficie de la imagen en busca del rostro humano, para ello, primero la imagen se transforma a escala de grises y luego se analiza dicha imagen, mostrando como resultado el rostro encuadrado. ABSTRACT Currently the detection of human face is a difficult issue due to various parameters involved. Becomes of increasing interest in various fields of applications such as personal identification, the man-machine interface, etc. Most of the face images contain a fund to be removed / discriminate in order to detect the human face. Thus, this project is the design and implementation of a human face detection system, as the first step in the process, leaving the way open for a possible future, extend this project to the next step would be, Facial Recognition , a topic not covered here. In the literature, one of the most important face detection in real time is the algorithm of Viola and Jones, who has been after use with Open CV libraries, the algorithm chosen for the development of this project. I will explain a brief summary of the performance of my application. My application can capture video in real time and recognize the face that the Webcam Capture compared to other objects that can be viewed through it. To know that the face is detected, it is fully boxed and followed if this move. In turn, if the user may want to save the image that the camera is showing, could store in any directory on your PC. I also included the option to detect the human face on a still image, whatever we have stored in your PC, being shown the number of faces detected and can view them on more times. For all as well I mentioned before, the algorithm used for face detection is that of Viola and Jones. This algorithm is based on scanning the entire surface of the image for the human face, for this, first the image is converted to gray-scale and then analyzed the image, showing results in the face framed.

Read the paper · More papers on PaperTik