Skip to content

As part of final project of machine learning course, we developed the detector for deep fake images.

Notifications You must be signed in to change notification settings

bestin015/Deep-Fake-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Fake Detector

Setup for Python:

  1. Install Python (Setup instructions)

  2. Install Python packages

pip3 install -r api/requirements.txt
  1. Install Tensorflow Serving (Setup instructions)

Setup for ReactJS

  1. Install Nodejs (Setup instructions)
  2. Install NPM (Setup instructions)
  3. Install dependencies
cd frontend
npm install --from-lock-json
npm audit fix
  1. Copy .env.example as .env.

  2. Change API url in .env.

Using FastAPI

  1. Get inside api folder
cd api
  1. Run the FastAPI Server using uvicorn
uvicorn main:app --reload --host 0.0.0.0
  1. Your API is now running at 0.0.0.0:8000

Using FastAPI & TF Serve

  1. Get inside api folder
cd api
  1. Run with python compiler.{python3 DeepFakeDetector/api/main.py}

  2. Your API is now running at 0.0.0.0:8000

Running the Frontend

  1. Get inside api folder
cd frontend
  1. Copy the .env.example as .env and update REACT_APP_API_URL to API URL if needed.
  2. Run the frontend
npm run start

About

As part of final project of machine learning course, we developed the detector for deep fake images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published