Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -11,25 +11,15 @@ pinned: false
|
|
11 |
|
12 |
# Face Detection from Google Drive (Streamlit App)
|
13 |
|
14 |
-
This app streams videos directly from a public Google Drive folder, detects faces using MediaPipe
|
15 |
-
|
16 |
-
## Features
|
17 |
-
|
18 |
-
- 🎥 Stream `.mp4` and `.avi` videos directly from Drive
|
19 |
-
- 🧠 Face detection powered by **MediaPipe**
|
20 |
-
- ⚙️ Built using **Streamlit**
|
21 |
-
- ☁️ No local file storage — processes video streams in memory
|
22 |
|
23 |
## How to Use
|
24 |
|
25 |
-
1. Make your Google Drive
|
26 |
2. Replace the `CCTVFEED_IDS`, `REG_FOLDER_ID`, and `INTRUDER_FOLDER_ID` in `app.py`.
|
27 |
3. Upload:
|
28 |
- `app.py`
|
29 |
- `requirements.txt`
|
30 |
-
- `.huggingface.yaml`
|
31 |
- `README.md`
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
If your app is stuck at "Building" or "Starting", reduce the number of large dependencies like `dlib`. This app is optimized using **MediaPipe**, not dlib, to reduce build time and errors.
|
|
|
11 |
|
12 |
# Face Detection from Google Drive (Streamlit App)
|
13 |
|
14 |
+
This app streams `.mp4` and `.avi` videos directly from a public Google Drive folder, detects faces using **MediaPipe**, and displays results in real time — all without downloading videos locally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
## How to Use
|
17 |
|
18 |
+
1. Make your Google Drive folders **public**.
|
19 |
2. Replace the `CCTVFEED_IDS`, `REG_FOLDER_ID`, and `INTRUDER_FOLDER_ID` in `app.py`.
|
20 |
3. Upload:
|
21 |
- `app.py`
|
22 |
- `requirements.txt`
|
|
|
23 |
- `README.md`
|
24 |
|
25 |
+
> ✅ No `.huggingface.yaml` is needed if the header above is present in the README.md.
|
|
|
|