Code Monkey home page Code Monkey logo

team-nooglers's Introduction

Deepfake Video Detection using ResNeXt-50

Project Title : Deep Fake Shield (DFS)

Demo

For the demonstration purpose, we're going to Import a fake video and check whether our application detects it. This is deepfake video of โ€˜The Shining,โ€™ starring Jim Carrey [Link ๐Ÿ”—] (https://www.marketwatch.com/story/watch-this-deepfake-and-you-may-never-trust-a-video-recording-ever-again-2019-07-09)

We have obtained accelerated version of the model after using Intelยฎ oneAPI Deep Neural Network Library

dem_video.mp4

Overview

This project aims to detect deepfake videos using advanced deep learning techniques, specifically leveraging the ResNeXt-50 model architecture. Deepfake videos, which are highly realistic but fabricated using AI algorithms, pose a significant threat to the authenticity of visual media content. By developing a robust framework for classifying videos as real or fake, we contribute to the ongoing efforts to combat the proliferation of misinformation and preserve the integrity of digital media platforms.

Features

  • Utilizes the Celeb-DF-v2 dataset, comprising a 6000+ diverse collection of real and synthesized videos featuring celebrity personas.
  • Implements the ResNeXt-50 model architecture for video classification.
  • Provides functionality for preprocessing videos, extracting frames, and applying data augmentation techniques.
  • Offers inference capabilities for detecting deepfake videos in real time.
  • Includes example scripts for training the model and evaluating its performance.

Usage of Intel Developer Cloud ๐ŸŒ๐Ÿ’ป

Leveraging the powerful resources provided by Intel Developer Cloud accelerated our development and deployment of the deepfake video detection model. We harnessed the computational capabilities of Intel's CPUs and XPUs to optimize critical components, such as video preprocessing, frame extraction, and model inference.

By taking advantage of Intel's high-performance computing infrastructure and optimized software libraries (e.g., oneDNN, Intel Distribution of OpenVINO), we significantly reduced the time required for data preprocessing, model training, and inference. This allowed for faster experimentation, iterative improvements, and ultimately, a more efficient deployment of our deepfake detection solution.

Flow Diagram ๐Ÿ”„๐Ÿ“Š

flow

Necessary Libraries

To run this project, you'll need the following libraries:

  • Python 3.x
  • oneDNN (Intel's Deep neural Network Library)
  • PyTorch
  • torchvision
  • timm
  • OpenCV
  • PIL
  • OneDNN

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve this project.

Run Locally

Clone the project

  git clone https://github.com/SaiNivedh26/Team-Nooglers

Go to the project directory

  cd Team-Nooglers

Install dependencies

  pip install -r requirements.txt

Start the server

  npm run start

How We Built It ๐Ÿ› ๏ธ๐Ÿ‘ทโ€โ™‚๏ธ

  • Developed a custom data pipeline for loading and preprocessing the Celeb-DF-v2 dataset. ๐Ÿ“‚
  • Implemented the ResNeXt-50 model architecture using PyTorch for video classification. ๐Ÿ”ฅ
  • Utilized transfer learning techniques by fine-tuning the model on the Celeb-DF-v2 dataset. ๐Ÿ‹๏ธโ€โ™€๏ธ
  • Leveraged Intel Developer Cloud's powerful computing resources and optimized libraries (e.g., oneDNN) to accelerate model training and inference. โšก

References For Datasets ๐Ÿ“Š๐Ÿ“š

Authors

License

This project is licensed under the MIT License.

team-nooglers's People

Contributors

sainivedh26 avatar twinn-github09 avatar mad-man-heman avatar thespectacular314 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.