Digital Image Processing and Recognition Using Pyt
Digital Image Processing and Recognition Using Pyt
Abstract— In this project, the primary aim will be the These processed images can now either be directly used or we
conversion of images into Grayscale in which conversion of can use them further for developing higher-order models used
pixels to array takes place and apply Blur effect using The in Artificial Intelligence and Deep Learning. Image Recognition
Gaussian blur which is a type of image-blurring filter that is one such concept that will be applied to differentiate and
uses a Gaussian function which also expresses the normal recognize faces in digital images that can be taken use of in
distribution in statistics for calculating the transformation various technical fields like user entry security systems, face
to apply to each pixel in the image. The above two unlock system, blind people support, etc. Moreover, this can be
processesare applied to the input images. used in digital camera images, digital cameras generally include
These two above mentioned processes can be achieved by specialized digital image processing hardware – either dedicated
utilizing the most relevant python libraries and functions, chips or added circuitry on other chips – to convert the raw data
followed by conversion of the digital image to numerical from their image sensor into a color-corrected image in a
data and then, applying the effects to the image to get back standard image file format. A film like “Westworld (1973)” was
the image with applied effects in it. the first feature film to use digital image processing to pixelate
Face recognition refers to matching a face present in an photography to simulate an android's point of view.
input image from the training/pre-saved dataset and by
applying Deep Learning Concept. This will be achieved by The proposed model uses conversion images to grayscale and
defining a function to read and convert images to data, apply face recognition to lessen the time complexity of face
apply the python function, and then, recreating the image detection and recognition. Hence, it detects faces faster and with
with results. an accuracy of more than 90%.
Keywords— Gray Scale, Blur effect, Gaussian blur, Python
1) THE GAUSSIAN BLUR
I. INTRODUCTION
The Gaussian blur is a type of image-blurring filter that uses a
Digital image processing is the method of a digital computer to Gaussian function (which also expresses the normal
process digital images through the use of a relevant algorithm. distribution in statistics) for calculating the transformation to
It is a subcategory or field of digital signal processing, digital apply to each pixel in the image. The formula of a Gaussian
image processing contains a lot of advantages over analog image function in one dimension is
processing but digital image processing allows the use of
much more complex algorithms, and hence, can offer both more
sophisticated performance at simple tasks, and the
implementation of methods which would be impossible by
analog means. It provides a much wider range of algorithms
that can be applied to the input data and can avoid problems In two dimensions, it is the product of two such Gaussian
such as the build-up of noise and distortion during processing. functions, one in each dimension:
Since images are defined over two dimensions or more than just
2-dimensions digital image processing may be modeled in the
form of multidimensional systems. The generation and
development of digital image processing are mainly affected by
three factors: the development of computers, the development
of mathematics especially the creation and improvement of where x is the distance from the origin in the horizontal axis, y
discrete mathematics theory, and lastly the demand for a wider is the distance from the origin in the vertical axis, and σ is the
range of applications in environmental, agricultural, military, standard deviation of the Gaussian distribution.
industry and medical science increasing over-time.
When applied in two dimensions, this formula produces a
Digital image processing deals with the manipulation of digital surface whose contours are concentric circles with a Gaussian
images through a digital computer. It is also a subfield of distribution from the center point. Values from this
signals and systems but it majorly focuses on images. The distribution are used to build a convolution matrix that is
input of this system processing is a digital image and the applied to the original image.
system process that image using efficient algorithms, and gives
an image as an output with its corresponding description. Open CV provides faster in-built libraries to compute these
319
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 10, ISSN No. 2455-2143, Pages 319-322
Published Online February 2021 in IJEAST (http://www.ijeast.com)
GRAY SCALE:
Gray=0.299R + 0.587G + 0.114B
(OR)
Gray = (Red + Green + Blue) / 3
For each pixel:
Red = Pixel.Red III. EXPERIMENT AND RESULT
Green = Pixel.Green
Input 1
Blue = Pixel.Blue
Gray = (Red + Green + Blue) / 3 The input image has the face of Kobe Bryant.
Pixel.Red = Gray
The model is trained to identify Kobe Bryant
Pixel.Green = Gray
320
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 10, ISSN No. 2455-2143, Pages 319-322
Published Online February 2021 in IJEAST (http://www.ijeast.com)
IV. CONCLUSION
Hence, the Image Processing and Recognition model was
Input 2: implemented by the deep learning concept and implemented. It
The input image has the faces of Messi and Griezmann. successfully converts the images into grayscale and then uses it
The model was trained to recognize Messi and not identify for detection. By converting the image into grayscale, we
Griezmann. reduce the magnitude of pixel values, and then images are used
for face recognition. This process made the face recognition
faster as compared to the traditional model and detects faces
321
International Journal of Engineering Applied Sciences and Technology, 2021
Vol. 5, Issue 10, ISSN No. 2455-2143, Pages 319-322
Published Online February 2021 in IJEAST (http://www.ijeast.com)
V. REFERENCE
322