PraneshJs commited on
Commit
24e68a8
·
1 Parent(s): 706acb4

fixed config error

Browse files
Files changed (1) hide show
  1. README.md +0 -114
README.md CHANGED
@@ -1,4 +1,3 @@
1
- <<<<<<< HEAD
2
  ---
3
  title: Fakevideodetect
4
  emoji: 👀
@@ -11,116 +10,3 @@ pinned: false
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
14
- =======
15
- # About
16
-
17
- This is a powerful open-source tool designed to detect fake images, videos, and audios. Utilizing state-of-the-art deep learning techniques like EfficientNetV2 and MTCNN, It offers frame-by-frame video analysis, enabling high-accuracy deepfake detection. It's developed with a focus on ease of use, making it accessible for researchers, developers, and security analysts..
18
-
19
- ---
20
-
21
- ## Features
22
-
23
- - Multimedia Detection: Detect deepfakes in images, videos, and audio files using a unified platform.
24
- - High Accuracy: Leverages EfficientNetV2 for enhanced prediction performance and accurate results.
25
- - Real-Time Video Analysis: Frame-by-frame analysis of videos with automatic face detection.
26
- - User-Friendly Interface: Easy-to-use interface built with Gradio for uploading and processing media files.
27
- - Open Source: Completely open source under the MIT license, making it available for developers to extend and improve.
28
-
29
- ---
30
-
31
- ## Demo-Data
32
-
33
- You can test the deepfake detection capabilities of this by uploading your video files. The tool will analyze each frame of the video, detect faces, and determine the likelihood of the video being real or fake.
34
-
35
- Examples:
36
- 1. [Video1-fake-1-ff.mp4](#)
37
- 2. [Video6-real-1-ff.mp4](#)
38
-
39
- ---
40
-
41
- ## How It Works
42
-
43
- DeepSecure-AI uses the following architecture:
44
-
45
- 1. Face Detection:
46
- The [MTCNN](https://mtcnn.readthedocs.io/en/latest/) model detects faces in each frame of the video. If no face is detected, it will use the previous frame's face to ensure accuracy.
47
-
48
- 2. Fake vs. Real Classification:
49
- Once the face is detected, it's resized and fed into the [EfficientNetV2](https://medium.com/aiguys/review-efficientnetv2-smaller-models-and-faster-training-47d4215dcdfb) deep learning model, which determines the likelihood of the frame being real or fake.
50
-
51
- 3. Fake Confidence:
52
- A final prediction is generated as a percentage score, indicating the confidence that the media is fake.
53
-
54
- 4. Results:
55
- This provides an output video, highlighting the detected faces and a summary of whether the input is classified as real or fake.
56
-
57
- ---
58
-
59
- ## Project Setup
60
-
61
- ### Prerequisites
62
-
63
- Ensure you have the following installed:
64
-
65
- - Python 3.10
66
- - Gradio (pip install gradio)
67
- - TensorFlow (pip install tensorflow)
68
- - OpenCV (pip install opencv-python)
69
- - PyTorch (pip install torch torchvision torchaudio)
70
- - facenet-pytorch (pip install facenet-pytorch)
71
- - MoviePy (pip install moviepy)
72
-
73
- ### Installation
74
-
75
- 1. Clone the repository:
76
- git clone https://github.com/Pranesh-2005/AI-Generated-Video-Detector.git
77
-
78
- 2. Navigate to the cloned repo:
79
- cd AI-Generated-Video-Detector or Go To the repo manually
80
-
81
- 3. Install required dependencies:
82
- pip install -r requirements.txt
83
-
84
-
85
- 3. Download the pre-trained model weights for EfficientNetV2 and place them in the project folder.
86
-
87
- ### Running the Application
88
-
89
- 1. Launch the Gradio interface:
90
- python app.py
91
-
92
-
93
- 2. The web interface will be available locally. You can upload a video, and model will analyze and display results.
94
-
95
- ---
96
-
97
- ## Example Usage
98
-
99
- Upload a video or image to detect fake media. Here are some sample predictions:
100
-
101
- - Video Analysis: The tool will detect faces from each frame and classify whether the video is fake or real.
102
- - Result Output: A GIF or MP4 file with the sequence of detected faces and classification result will be provided.
103
-
104
- ---
105
-
106
- ## Technologies Used
107
-
108
- - TensorFlow: For building and training deep learning models.
109
- - EfficientNetV2: The core model for image and video classification.
110
- - MTCNN: For face detection in images and videos.
111
- - OpenCV: For video processing and frame manipulation.
112
- - MoviePy: For video editing and result generation.
113
- - Gradio: To create a user-friendly interface for interacting with the deepfake detector.
114
-
115
- ---
116
-
117
- ## License
118
-
119
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
120
-
121
- ---
122
-
123
- ### Disclaimer
124
-
125
- This is a research project and is designed for educational purposes.Please use responsibly and always give proper credit when utilizing the model in your work.
126
- >>>>>>> 1d294d519fe219157ed140104660d4b6e62f5d83
 
 
1
  ---
2
  title: Fakevideodetect
3
  emoji: 👀
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference