Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Machine learning project using python to recognize fake and real faces

Notifications You must be signed in to change notification settings

LiorSB/DeepFake_FaceRecognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

DeepFake_FaceRecognition

Machine learning project using python to recognize fake and real faces

The following code works in two parts. In the first part we create the data for each picture (1024x1024) by turning them into grey scale, calculating 2-DFT, center them with fftshift, calculate the magnitude, and at last calculate the radial average for each picture.

image image image image

Once we have each pictures data we can start training (real and fake) our classifier with the training data which will be done with the gradient descent with the learning algorithm.

image image

Once our classifier has been trained we may insert test pictures to get their results which will be saved into a file.

image image image image

4 test pictures that were recognized correctly:

image image

About

Machine learning project using python to recognize fake and real faces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published