Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepFake Detection

Overview

DeepFake Detection is a machine learning project designed to detect and classify deepfake videos. It leverages deep learning models such as CNN+LSTM and XceptionNet to analyze video frames and identify manipulated content.

Table of Contents

Features

  • Video Preprocessing: Extracts frames from videos for model input.
  • Deep Learning Models:
    • CNN+LSTM for temporal video analysis.
    • XceptionNet for image classification on extracted frames.
  • Dataset Handling: Supports processing and augmentation of video datasets.
  • Evaluation and Analysis: Provides performance metrics and insights.

Installation

To set up the project on your local machine:

  1. Clone the Repository
    git clone https://github.com/AnuBaluguri/DeepFake-Detection.git
    cd DeepFake-Detection
    
  2. Set Up a Virtual Environment
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install Dependencies
    pip install numpy pandas opencv-python tensorflow keras matplotlib

Usage

  1. Run Jupyter Notebook

    jupyter notebook
  2. Open and Execute a Notebook

    • Preprocessing Video Data python

    # Run the PreprocessingForVideos.ipynb notebook to extract frames from videos
    

    • Train CNN+LSTM Model python

    # Open CNN+LSTM.ipynb and run all cells to train the model
    

    • Train XceptionNet Model python

    # Open XceptionNet.ipynb and execute to train the Xception-based model
    

Project Structure

  DeepFake-Detection/
  │── PreprocessingForVideos.ipynb   # Preprocessing video data
  │── CNN+LSTM.ipynb                 # CNN+LSTM model implementation
  │── XceptionNet.ipynb              # XceptionNet model implementation
  │── Report.docx                     # Project report and findings
  │── README.md                       # Project documentation

Dependencies

Ensure the following dependencies are installed:

• Python 3.6+

• NumPy

• Pandas

• OpenCV

• TensorFlow / Keras

• Matplotlib

Contributing

Contributions are welcome! Follow these steps:

  1. Fork the repository.
  2. Create a feature branch:
    git checkout -b feature/new-feature
  3. Commit your changes:
    git commit -m "Add new feature"
  4. Push to your branch:
    git push origin feature/new-feature
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages