Posts

Face Recognition Using Transfer learning with Mobile Net and vgg16

Image
MLOps Task  Face Recognition using Transfer Learning In this Task we have to create a CNN model using pre trained models and weights like Mobilenet, ImageNet and Vgg16 for face recognition. In this task we are using the weights from imageNet and Architecture of MobileNet and vgg16 Pre requisite: 1) These libraries should be installed first: * Keras * tensorflow * numpy * pandas * opencv-python Now lets Proceed further: Step 1: * First of all we have to collect the dataset on which we are training our model you can use any images dataset you want or you can open up your webcam and get your face images Step 2: * Open Jupyter-notebook and use the following code this code will open your webcam and take you cropped face images Step 3: * Now we are creating the CNN model using mobile net. I am using 5 celebrity datasets Visit this website: Download this dataset https://www.kaggle.com/dansbecker/5-celebrity-faces-dataset Step 4: * Use the following code which is uploded on the github  This wi