An Improved Model for Imperfect Facial Recognition using Python-Open CV

A face recognition is prevalently carried out by using ‘perfect’ data of full-frontal facial images without any sort of damage like due to accident on the image. Actually, there are various circumstances where full frontal faces may not be accessible. In this case, the available imperfect facial pictures that frequently originate from Closed Circuit Television (CCTV) cameras are used in place of the perfect full-frontal images. Hence, the problem of computer-based face recognition using impartial facial data as analysis is still largely an unexplored area of research. For the fact that the way humans carry out facial recognition and verification is different from how machines do, it must be fascinating to see how a machine favors different pieces of the face when exhibited to the difficulties of face recognition. This paper, therefore, investigates the question that encompasses the idea of face recognition using incomplete facial information. The experiment will be based on using Object Oriented Programming Language (OOP) along with OPENCV (Open Computer Vision) for proper classification and identification of a human face. Keywords—Analysis; imperfect facial data; face recognition; icomplete face; OOP; OpenCV


INTRODUCTION
Faces are the most decorated pictures in the visual system within the life time of a human being. it is not surprising that humans have the ability to recognize faces. With regards to face recognition by humans, it is thought that the brain remembers important details such as the shapes and colors of crucial features corresponding to the eyes, nose, forehead, cheeks and the mouth. Thus, this work is aimed at developing a face recognition system that will be able to detect an imperfect human face and tell whose face it is. Fig. 1.0 Below is an example of how imperfect faces are shown as input data for a facial recognition system. From the above fig. 1, according to [1], "in no circumstance should the whole face be made available and only portions of the face such as the forehead, eyes, nose, mouth or the cheeks of the given subject should be made available as input probe data as." [2] [3].
II. RELATED WORKS In recent past, a lot of algorithms were designed to solve face recognition problems, for example, those found in [4] [5]. Savvides et al. [6] is one of the works that we could associate with this subject. To create quantifiers with discriminative ability, several facial regions are analyzed here. The method of kernel correlation filters was used to reduce image dimensionality and for extraction of features based on gray scale images. They then used Vector Machines (SVM) support to discriminate between different facial features. They dealt with three major facial areas, including the head, nose, and mouth, in their study. They said the results of their experiments suggest a higher verification rate for the eye region compared to the mouth and nose regions [7].
In a comparable fashion, [8] presented a procedure known as the Dynamic Feature Matching (DFM) for incomplete face recognition. Their examination depended on a blend of fully convolutional networks (FCN) [9], and sparse representations. The motivation behind FCN is to separate a component map of pictures which has the ability to cater for progressively discriminative features. The core of their work is the use of VGG-Face model [10] from which these features was moved to the FCN. This strategy seems to have created great arrangement precision contrasted with other existing strategies.
Long et al. [11] proposed Subclass Pooling for Classification (SCP) to tackle the twofold impediment issue by utilizing constrained information in a training set. They utilized a fuzzy max pooling technique and normal pooling plans. Their outcomes indicated that an astounding edge of execution can be accomplished.
Yang et al. [12] of recent, proposed a structure called the Optimized Symmetric Partial Face graph (OSPE) for face recognition under various situations [13]. For instance, impeded face, facial appearance and variety of lighting are a portion of the signals they use in their research. Once more, their experimental outcomes have demonstrated that a few enhancements in recognition rates can be accomplished by presenting imperfect facial information or data.
Duan et al. [14] presented a method called Topology Preserving Graph Matching (TPGM), so as to upgrade the recognition procedure on account of utilizing incomplete faces. Their strategy depends on building geometric graphed

International Journal of Engineering Research & Technology (IJERT)
ISSN: 2278-0181 http://www.ijert.org for probe and gallery faces. The TPGM strategy limits a geometric and textural cost work. Results of their analyses on four face databases showed that their methodology outflanked other cutting-edge techniques at the time.
Cai et al. [15] proposed a facial variety demonstrating system for inadequate portrayal for face recognition. In light of a solitary example face, they fabricated facial variety bases to isolate nonpartisan, frontal faces from changed facial views. Their trials show that significant upgrades can be performed for single image face recognition issues.
Another bit of work which is related to this paper is that which is carried out by [16]. here, they conceived that the human face recognition issue in frontal perspectives with shifting light, mask and occlusion. "They presented another strategy for face recognition which extracts a dynamic subspace from pictures and they acquire the unmistakable parts for each subject. An attribute of discriminative segments was represented by those parts so as to give a recognition protocol to order face pictures by utilizing the K-nearest neighbor algorithm (K-NN)" [17]. They used their strategy to public databases, for example, ORL and Extended Yale B. The outcomes showed that the recognition rates can be improved utilizing incomplete facial signals.
Peng et al. [18], presented a method called Locality-Constrained Collaborative Representation (LCCR) to upgrade separation of delegate pictures. The LCCR was applied to various databases with five distant measures. On account of imperfect faces, they utilized three facial features, which included the right eye, nose and mouth with jawline by veiling the first pictures. "The outcomes show that the correct eye, mouth and jawline have high recognition rates -for instance, by utilizing LCCR and City Block distance measures" [19].
Murphy et al. [20] carried out a research which was based on facial stimuli shows the system of human face recognition. Their work, alongside that of others, appear, for people, that faces are hard to see when flipped around. According to them, "the primary thought in this work was to comprehend the breaking points of human capacity to face observation and recognition. They tried this thought in four different ways, in particular for character, sex, age and appearance under four conditions, which are, upstanding entire face, transformed entire face, upstanding opening and altered gap." The outcomes introduced by the spectators were placed into classes of character, sex, age and articulations. Their outcomes demonstrate that the hindering impacts of a reversed entire face were no less in the opening states of demonstrating incomplete face to the members.
Nummenmaa et al. [21] also researched on facial recognition on imperfect face subject to facial expressions. For the following facial expressions anxiety, joy, sorrow, disgust, and anger they tested on the face recognition scales. According to [20], "in the case of the partial face, the face was separated into two parts, one with the eyes and the other with the nose." A significant result of their work is that only when it comes to the situation of the eye and mouth, humans have poor recognition rates. Then again, they noted that smile expression results in slightly better rates of recognition. However, [20] [21] further stated that "The quality of current methods decreases dramatically when coping with acute occlusions in the head. Several previous studies have recognized that experience tends to be a key factor in identification when it comes to human face recognition. The recognition rate changes, of course, when the target face picture becomes distorted, occluded, with gestures and shifts in the subject's age." Machine learning lets a machine build models from input data observations in order to make a more detailed decision. This is a clear edge that algorithms for machine learning seem to have over understanding and recognition of the human face. It is therefore possible to claim that machine learning algorithms can theoretically have better recognition levels on imperfect faces or, in the most pessimistic scenario, can help people achieve better face recognition, especially in difficult cases where very small or partial facial data are provided [21]. Of all the researched carried out machine-based face recognition, we were able to identify that none of them were able to ascertain how machine learning favours in face recognition using incomplete faces. This paper is aimed at developing a face recognition system that will be able to detect an imperfect human face and tell whose face it is. It is geared towards exploring how various imperfect parts of the human face whether observed from close range or from a distance can be used to recognize an individual. The objectives thus are as to: • Develop a system that will detect a human face using imperfect data. • Create a database were these imperfect data will be stored. • Build a Graphical User Interface for the system that will enable interaction with the database. Shervin [22] opines that "OpenCV supports a wide variety of programming languages such as C++, Python, Java, etc., and is available on different platforms including Windows, Linux, OS X, Android, and iOS". He defined OpenCV-Python as "the Python Application Programming Interface (API) for OpenCV which combines the Python programming language and the amazing qualities of the OpenCV C++ API." OpenCV-Python is a library of Python that is built to tackle vision challenges associated with computers. It utilizes NumPy, a profoundly improved library for numerical operations with MATLAB-style syntax.

III. METHODOLOGY
The use of an appropriate method enhances effectiveness and efficiency in every research work.
A "system development methodology (SDM) refers to the step-by-step procedure used to structure, plan, and control the process of developing an information system." We adopted the Object-Oriented Analysis and Design Methodology (OOAM) in analysis of this program.

Advantages of the Existing System
i.
It is cost effective.

Disadvantages of the Existing System
i. Slow in image processing ii.
Required high memory in processing Required less memory for image processing

A. Feature classifications
The goal of classification in supervised machine learning is to fabricate a short model of the dissemination of class labels regarding anticipated features. In supervised machine learning, classification is a function that allots accordingly, new observations to which a set of target categories belong to.

B. Algorithm
Input: Training set N, with n classes mj = number of images in a given class Python is an open-source object-oriented language. Its efficacy cuts across, Application Programming Interface (API), Platform independence, simulation, low-level programming, object linker embedding, network configuration etc. A Python program need not to be compiled each time it is about to run once it is developed.
OpenCV supports a wide variety of programming languages such as C++, Python, Java, etc., and is available on different platforms including Windows, Linux, OS X, Android, and iOS. OpenCV-Python is "the Python Application Programming Interface (API) for OpenCV which combines the Python programming language and the amazing qualities of the OpenCV C++ API." OpenCV-Python is a library of Python that is built to tackle vision challenges associated with computers. It utilizes NumPy, a profoundly improved library for numerical operations with a MATLAB-style syntax.

CONCLUSION
In the field of computer vision and visual computing, the ability of existing machine-based face recognition algorithms to function properly in instances of incomplete facial information such as occluded or zoomed out faces as indications remains a difficult task. In this study, we presented the findings of some of the experiments we carried out to illustrate these problems. To do this, we used managed and unregulated public facial data sets to demonstrate how deep learning can be used with imperfect facial signals for face recognition.
From an implementation point of view, we agree that this work is still preliminary in that we used only datasets that are relatively regulated and far from realistic scenarios. Therefore, extending this work to evaluate its practical applicability in terms of extending our experiments where, for example, real facial Closed Circuit Television (CCTV) footage can be used as recognition signals will be very useful.