Facialppt

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 21

VISVESVARAYA

TECHNOLOGICAL UNIVERSITY
BELAGAVI, KARNATAKA

An Internship Seminar Presentation


On
“Deep Learning using PyTorch for facial expression Recognition”

Presented By

MAHAMMAD SAHEEL 4JN20CS059

Under the Guidence of : Coordinator :


Dr.Ravindra S B.E., M.Tech ,PH.D Mrs Shreedevi S B.E., M.Tech

Assistant Professor, Assistant Professor,


Dept. of CS&E Dept. of CS&E
CONTENTS
 Introduction

 Company Profile

 Initiatives of CIE

 Abstract

 Technical skills

 Task Performed

 Results

 Reflection Notes

 Conclusion

 References
INTRODUCTION
 The internship was based on AI for Structured data using Pytorch which is one of the richest
technologies in today’s modern world scenarios.

 The mini project “Deep Learning using PyTorch for Face Expression Recognition”

 As a part of the internship, assignments, mini projects were assigned which helped to grow as an
individual and as a team.

 Visualization played a pivotal role in enhancing data comprehension and analysis.

 Through hands-on experience and practical sessions that helps to adopt enhanced

Chrysies.
COMPANY PROFILE

 Ekathva Innovations was established in 2018 in Karnataka at the campus of JNNCE.

 Ekathva innovations mainly aims in making user friendly and economic products in the areas of

design and development of the Embedded Systems.

 The company also aims at web development and app development both on android and IOS in the

field of information technology.

 They are experienced in providing high quality solutions to clients in diverse business areas.
CENTER FOR INNOVATION &
ENTREPRENEURSHIP ( CIE)
Center for Innovation and Entrepreneurship (CIE) was started in 2018 in JNNCE with the support of

various Government departments and agencies.

 CIE aims to create innovation, startup and entrepreneurial ecosystem at JNNCE in & around

Shivamogga.

 It provides all the required facilities like incubation support, funding and infrastructure space for

startup establishment.
INITIATIVES OF CIE
New Generation Innovation and Entrepreneurship Development Centre

 New Age Incubation Network (NAIN) Centre

 JNNCE Research & Innovation Centre (JNNRIC)

 JNNCART

 Entrepreneurship Cell (E-Cell)

 Technology Business Incubator (TBI)

 Technology Activities & Programs (TAP)


ABSTRACT
 Facial expression recognition has gained significant traction in recent years, owing to its wide range of
applications in human-computer interaction, emotion analysis, and mental health assessment. This
abstract highlights the utilization of PyTorch, a popular deep learning framework, in advancing facial
expression recognition systems. Through the integration of convolutional neural networks (CNNs) and
recurrent neural networks (RNNs). This project explores the recent advancements in deep learning
techniques applied to facial expression recognition, addressing challenges such as illumination
variations, occlusions, and complex facial gestures. By leveraging PyTorch's flexibility and efficiency,
researchers and practitioners are able to design and implement state-of-the-art models that significantly
improve the performance and robustness of facial expression recognition systems in diverse real-world
scenarios.
TECHNICAL SKILLS

Overview of AI

 NumPy

 PyTorch

 Convolutional Neural Networks


OVERVIEW OF AI
 Artificial Intelligence (AI) is a branch of computer science by which we can create intelligent machines which can
behave like a human, think like humans, and able to make decisions.
 Goals of AI:
• To Create Expert Systems − The systems which exhibit intelligent behavior, learn, demonstrate, explain, and advice its
users.
• To Implement Human Intelligence in Machines − Creating systems that understand, think, learn, and behave like humans.

Fig.1 Components of AI
APPLICATIONS OF ARTIFICIAL INTELLIGENCE

Fig.2 Applications of AI
NUMPY
NumPy can be used to perform a wide variety of mathematical operations on arrays. It adds
powerful data structures to Python that guarantee efficient calculations with arrays and matrices.

Benefits of NumPy:
 Efficient array operations.
 Memory efficiency.
 Broadcasting.
 Universal functions.
 Interoperability with other libraries.
 Data analysis and manipulation.
 Scientific computing and simulations.
 Machine learning and artificial intelligence.
PyTorch
PyTorch is an open source machine learning framework based on the Python programming
language and the Torch library. The PyTorch framework supports over 200 different mathematical
operations.
PyTorch benefits:

 Offers developers an easy-to-learn, simple-to-code structure that's based on Python.


 Enables easy debugging with popular Python tools.
 Offers scalability and is well-supported on major cloud platforms.
 Provides a small community focused on open source.
 Exports learning models to the Open Neural Network Exchange (ONNX) standard format.
 Offers a user-friendly interface.
CONVOLUTIONAL NEURAL NETWORKS

A convolutional neural network (CNN or ConvNet) is a network architecture for deep learning that
learns directly from data. CNNs are particularly useful for finding patterns in images to recognize
objects, classes, and categories. They can also be quite effective for classifying audio, time-series,
and signal data.

It has three layers:

 convolutional

 Pooling

 fully connected layer


CNN ARCHITECTURE

Fig.3 Layers of CNN


TASK PERFORMED
 Implemented algorithms using NumPy, Pytorch and its operations on sets of data for efficient

manipulation and analysis.

 Large dataset of Facial Expressions are used in this approach and the dataset is extracted from

Kaggle website.

 Dataset has predefined image along with it’s label.

 Dataset is split into training dataset and testing dataset.

 Convolution Neural Network(CNN) is used to train the model.


DIFFERENT TYPES OF EXPRESSIONS:

Fig.3 Predicted Outcome


RESULTS
The model was trained and evaluated using large dataset of facial expressions. The dataset was
categorised into training and testing datasets. The convolution neural network (CNN) was finely-tuned
on the datasets using techniques of deep learning. The results of implementing facial expression
recognition using pytorch deep learning showcase promising accuracy rates and efficiency in human
facial expression identification and classification. Through rigorous testing and validation, the model
demonstrates its capability to accurately distinguish between different types of expressions A human
contains.
REFLECTION NOTES:
This internship provided an opportunity to carry out a real time mini project. The
internship training gave an opportunity to express individual’s ideas and to put those
ideas in the project assigned. My internship as a intern for ekathva innovations has
been the most rewarding and motivational experiences I had during my time as a

student. In this internship I got to learn so many frameworks and modern world
technologies which are prominently used for projects around the world and this is
definitely a valuable asset for my upcoming career as a software engineer .
CONCLUSION
The internship on AI for structured data has provided a comprehensive stage for learning fundamental
operations in NumPy to implementing advanced techniques using PyTorch for predictive modeling.
In this project an Emotion/Facial Recognition model has been trained and saved. It can recognize/detect
the facial expressions of an individual on a real time basis that whether the individual is Neutral, Angry,
Disgust, Fear, Happy, Sad, Surprised
We can improve accuracy further by :
Using pre-trained models like VGG-16 or Resnet etc.
Using Stacked Model.
Performing some fine-tuning.
REFERENCE

 [1] https://numpy.org

 [2] https://pytorch.org

 [3] https://www.kaggle.com/facial-expression-detection-cnn

 [4] https://www.w3schools.com/python/pandas/pandas_intro.asp
THANK YOU!!

You might also like