Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.5.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
|
|
10 |
---
|
11 |
|
12 |
|
@@ -26,7 +27,6 @@ To develop our model for violence detection, we combined four datasets, amassing
|
|
26 |
|
27 |
|
28 |
## Structure
|
29 |
-
|
30 |
* **app.py**: The main Python script implements the Gradio, handles video uploads, and processes videos using the violence detection model.
|
31 |
* **requirements.txt**: A text file contains all needed libraries.
|
32 |
* **pre_3D_model.h5**: h5 file contains the model weights.
|
@@ -36,7 +36,4 @@ To develop our model for violence detection, we combined four datasets, amassing
|
|
36 |
* **Video Upload**: Users can upload videos in .mp4, .avi, or .mov format.
|
37 |
* **Preprocessing**: The video is sampled to 40 frames, resized, and normalized.
|
38 |
* **Classification**: The preprocessed video frames are fed into the 3D CNN model to classify the content.
|
39 |
-
* **Results Display**: The result page displays the classification label and the probability of violence.
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
1 |
---
|
2 |
+
title: Video-Violence-Detection
|
3 |
+
emoji: 🏃
|
4 |
+
colorFrom: purple
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.5.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
+
short_description: A model for classifing a video to having violence or not
|
11 |
---
|
12 |
|
13 |
|
|
|
27 |
|
28 |
|
29 |
## Structure
|
|
|
30 |
* **app.py**: The main Python script implements the Gradio, handles video uploads, and processes videos using the violence detection model.
|
31 |
* **requirements.txt**: A text file contains all needed libraries.
|
32 |
* **pre_3D_model.h5**: h5 file contains the model weights.
|
|
|
36 |
* **Video Upload**: Users can upload videos in .mp4, .avi, or .mov format.
|
37 |
* **Preprocessing**: The video is sampled to 40 frames, resized, and normalized.
|
38 |
* **Classification**: The preprocessed video frames are fed into the 3D CNN model to classify the content.
|
39 |
+
* **Results Display**: The result page displays the classification label and the probability of violence.
|
|
|
|
|
|