In the last few years, many applications have viewed great development, such as smart city applications, social media, smartphones, security systems, etc. In most of these applications, facial recognition played a major role. The work of these applications begins by locating the face within the image and then recognizing the face. The circumstances surrounding the person at the moment of taking the picture greatly affect the accuracy of these applications, especially the inappropriate lighting. Therefore, the stage of preparing the images is very important in the work. To solve this problem, we proposed a system that combines the use of gamma and Histogram Equalization algorithm (HE) to improve the images before starting to detect the face using the Viola-Jones. Then extract the facial features and identify the person using convolutional neural networks. The proposed system achieved a very small error rate and an accuracy during training that reached 100%.
Index Terms— Viola-Jones, HE, AHE, Gamma, CNN.