FACE RECOGNITION USING TRANSFER LEARNING

FACE RECOGNITION USING TRANSFER LEARNING

Task4

Create a project using transfer learning solving various problems like Face Recognition, Image Classification, using existing Deep Learning models like VGG16, VGG19, ResNet, etc.

We are using face recognition in our daily life activity, like attendance system, monitoring, camera, or in fact, we open our screen lock use our face. So, the Face Recognition program is been part of our daily life.

The main technology work behind the face recognition is Machine Learning.

In this task, we are going to use MobileNet to create a face recognition program.

As we know, any machine learning requires data, so that machine can be trained. For creating the data as an image, harcasscade model is used.

Code for the harcascade Model

No alt text provided for this image

Then, once we start the harcascade programme, it clicks photos for data.

No alt text provided for this image

Machine Learning cannot give better accuracy if you do not have sufficient data. So we import the data generator library of Keras.

No alt text provided for this image

The main important part of Machine Learning is data

processing. So our next step is to split the collected data into two forms - train & validation.

No alt text provided for this image

After this, there is one important part of transfer learning is adding layers.

No alt text provided for this image

Once your data is prepared, and we added the layer then move to the training part of the model.

No alt text provided for this image

After 5 epoc, accuracy comes out to be 93 %.

Now save the model, so that we can use it further.

No alt text provided for this image

Once all things we have done, the next process is to test the model. we call the test data using some function.

No alt text provided for this image
No alt text provided for this image

The machine predicts the face.

No alt text provided for this image

Thank you for reading the article and giving your precious time..

Have a good day!!!

Github Link: https://github.com/ankiiitt/Face-Recogonisation

要查看或添加评论,请登录

Ankit Kumar的更多文章

  • How Kubernetes Is Changing The Business ????

    How Kubernetes Is Changing The Business ????

    What is Kubernetes?? ???? Kubernetes is an open-source platform for managing containers. The product is created by…

    1 条评论
  • Create CloudFront Architecture with AWS CLI

    Create CloudFront Architecture with AWS CLI

    What is AWS ? AWS is a Public-Cloud platform providing world-wide service and offer over 170 fully-featured services…

    1 条评论
  • AWS Customer Success Story

    AWS Customer Success Story

    What is Cloud Computing? The company that provides their resources over the internet and charges according to the…

  • Big Data

    Big Data

    Today is the world of data and most of the big companies like Facebook, Google, Microsoft, Netflix, Amazon, etc are…

  • Flutter Music Player

    Flutter Music Player

    This article refers to the creation of a Music App with the use of one great Platform know as Flutter. There are many…

  • Integration of Ansible with Docker

    Integration of Ansible with Docker

    This is the first task of Ansible under Mr. Vimal Daga Sir.

    1 条评论
  • FLUTTER ENVIRONMENT SETUP

    FLUTTER ENVIRONMENT SETUP

    What is Flutter? Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web,…

  • AWS + KUBERNATES = AMAZON E

    AWS + KUBERNATES = AMAZON E

    Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed Kubernetes service. Amazon EKS automatically detects…

  • End to End INTEGRATION Of Docker, Jenkins, Github, Git, Redhat

    End to End INTEGRATION Of Docker, Jenkins, Github, Git, Redhat

    DevOps task2 Let us first understand what we are going to do in this task. Task description 1.

    2 条评论
  • TASK 1 COMPLETE INTEGRATION OF JENKINS WITH GITHUB

    TASK 1 COMPLETE INTEGRATION OF JENKINS WITH GITHUB

    Task Description TASK 1 JOB#1 If Developer push to dev branch then Jenkins will fetch from dev and deploy on the…

社区洞察

其他会员也浏览了