Spaces:
Runtime error
Runtime error
astrosbd
commited on
Commit
·
ef35b87
1
Parent(s):
a3f47ce
Setup Dockerfile and fixed detectron2 installation
Browse files
README.md
CHANGED
|
@@ -4,57 +4,10 @@ emoji: 🚗
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
A sophisticated AI-powered system that detects car damage and potential insurance fraud using deep learning models.
|
| 16 |
-
|
| 17 |
-
## Features
|
| 18 |
-
|
| 19 |
-
- Damage Detection: Identifies and localizes car damage using Detectron2
|
| 20 |
-
- Deepfake Detection: Analyzes images for potential manipulation
|
| 21 |
-
- User-friendly Interface: Built with Gradio for easy interaction
|
| 22 |
-
- Multi-device Support: Works on CPU, CUDA, and MPS (Apple Silicon)
|
| 23 |
-
|
| 24 |
-
## Requirements
|
| 25 |
-
|
| 26 |
-
- Python 3.8+
|
| 27 |
-
- PyTorch
|
| 28 |
-
- OpenCV
|
| 29 |
-
- Gradio
|
| 30 |
-
- Detectron2 (optional, not available for macOS)
|
| 31 |
-
|
| 32 |
-
## Installation
|
| 33 |
-
|
| 34 |
-
1. Clone the repository
|
| 35 |
-
2. Install dependencies:
|
| 36 |
-
```bash
|
| 37 |
-
pip install -r requirements.txt
|
| 38 |
-
```
|
| 39 |
-
|
| 40 |
-
## Usage
|
| 41 |
-
|
| 42 |
-
1. Run the application:
|
| 43 |
-
```bash
|
| 44 |
-
python app.py
|
| 45 |
-
```
|
| 46 |
-
|
| 47 |
-
2. Open your browser and navigate to the provided local URL
|
| 48 |
-
|
| 49 |
-
## Model Requirements
|
| 50 |
-
|
| 51 |
-
- Damage detection model (Detectron2 format)
|
| 52 |
-
- Deepfake detection model (custom format)
|
| 53 |
-
|
| 54 |
-
## License
|
| 55 |
-
|
| 56 |
-
Apache 2.0
|
| 57 |
-
|
| 58 |
-
## Note
|
| 59 |
-
|
| 60 |
-
This application requires pre-trained models for both damage detection and deepfake detection. Make sure to have the appropriate model files in the correct locations before running the application.
|
|
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.25.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|