Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -13,40 +13,42 @@ pinned: false
|
|
| 13 |
|
| 14 |
A powerful web application that helps you detect whether facial images are real or AI-generated using advanced deep learning technology.
|
| 15 |
|
|
|
|
|
|
|
| 16 |
## π Features
|
| 17 |
|
| 18 |
- **Fast Analysis**: Quick detection with real-time results
|
| 19 |
-
- **User-Friendly Interface**: Simple file upload system
|
| 20 |
-
- **Confidence Scoring**: Detailed probability scores for both classifications
|
| 21 |
-
- **Clear Verdict**: Color-coded results with confidence percentages
|
| 22 |
-
- **Automatic Model Loading**: Optimized performance with cached models
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## π How to Use
|
| 25 |
|
| 26 |
-
1. **Upload Image**: Click "Browse files" to upload a facial image (JPG, PNG, JPEG)
|
| 27 |
2. **Analyze**: Click the "π Analyze Image" button
|
| 28 |
3. **View Results**: See confidence scores and final verdict in the results panel
|
| 29 |
|
| 30 |
## π Understanding Results
|
| 31 |
|
| 32 |
-
- **β
REAL IMAGE**: The image is likely authentic
|
| 33 |
-
- **π¨ DEEPFAKE DETECTED**: The image appears to be AI-generated
|
| 34 |
- **Confidence Scores**: Percentage indicating how confident the model is in each classification
|
|
|
|
| 35 |
|
| 36 |
-
##
|
| 37 |
-
|
| 38 |
-
- Built with Streamlit for seamless web experience
|
| 39 |
-
- Uses advanced computer vision models
|
| 40 |
-
- Optimized for performance with model caching
|
| 41 |
-
- Supports common image formats
|
| 42 |
|
| 43 |
-
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
|
|
|
| 51 |
|
| 52 |
-
|
|
|
|
|
|
| 13 |
|
| 14 |
A powerful web application that helps you detect whether facial images are real or AI-generated using advanced deep learning technology.
|
| 15 |
|
| 16 |
+

|
| 17 |
+
|
| 18 |
## π Features
|
| 19 |
|
| 20 |
- **Fast Analysis**: Quick detection with real-time results
|
| 21 |
+
- **User-Friendly Interface**: Simple file upload system with intuitive design
|
| 22 |
+
- **Confidence Scoring**: Detailed probability scores for both classifications with visual progress bars
|
| 23 |
+
- **Clear Verdict**: Color-coded results (green for real, red for deepfake) with confidence percentages
|
| 24 |
+
- **Automatic Model Loading**: Optimized performance with cached models using Streamlit's cache_resource
|
| 25 |
+
- **Responsive Design**: Works seamlessly on different screen sizes
|
| 26 |
+
- **Modern UI**: Clean, professional interface with custom styling
|
| 27 |
|
| 28 |
## π How to Use
|
| 29 |
|
| 30 |
+
1. **Upload Image**: Click "Browse files" to upload a facial image (JPG, PNG, JPEG, BMP)
|
| 31 |
2. **Analyze**: Click the "π Analyze Image" button
|
| 32 |
3. **View Results**: See confidence scores and final verdict in the results panel
|
| 33 |
|
| 34 |
## π Understanding Results
|
| 35 |
|
| 36 |
+
- **β
REAL IMAGE**: The image is likely authentic (displayed in green)
|
| 37 |
+
- **π¨ DEEPFAKE DETECTED**: The image appears to be AI-generated (displayed in red)
|
| 38 |
- **Confidence Scores**: Percentage indicating how confident the model is in each classification
|
| 39 |
+
- **Visual Progress Bars**: Easy-to-understand graphical representation of confidence levels
|
| 40 |
|
| 41 |
+
## π οΈ Installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
+
To run locally:
|
| 44 |
|
| 45 |
+
```bash
|
| 46 |
+
# Clone the repository
|
| 47 |
+
git clone <repository-url>
|
| 48 |
+
cd jerry-deepfake-detector
|
| 49 |
|
| 50 |
+
# Install dependencies
|
| 51 |
+
pip install streamlit transformers torch pillow
|
| 52 |
|
| 53 |
+
# Run the application
|
| 54 |
+
streamlit run app.py
|