Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,22 +1,26 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
- β
No service account required
|
| 7 |
-
- π Streams `.mp4` and `.avi` files from public Google Drive folders
|
| 8 |
-
- π Face detection using MediaPipe
|
| 9 |
-
- β‘ Runs at normal frame rate for practical testing
|
| 10 |
-
- π§ Lightweight and GPU-free setup (but supports GPU for faster processing)
|
| 11 |
|
| 12 |
-
##
|
| 13 |
-
To change the video source:
|
| 14 |
-
- Update the `CCTVFEED_IDS`, `REG_FOLDER_ID`, or `INTRUDER_FOLDER_ID` values inside `app.py`.
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
## π Folder Structure (expected in root)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "Face Detection from Drive"
|
| 3 |
+
emoji: "πΉ"
|
| 4 |
+
colorFrom: "blue"
|
| 5 |
+
colorTo: "green"
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: "1.34.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 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, and displays results in real time β all without downloading videos locally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
## Features
|
|
|
|
|
|
|
| 17 |
|
| 18 |
+
- π₯ Stream .mp4 and .avi videos directly from Drive
|
| 19 |
+
- π§ Face detection powered by **MediaPipe**
|
| 20 |
+
- βοΈ Built entirely in **Streamlit**
|
| 21 |
+
- βοΈ No local storage needed β everything happens in memory
|
| 22 |
+
|
| 23 |
+
## Configuration
|
| 24 |
+
|
| 25 |
+
Ensure the following file structure in your repo:
|
| 26 |
|
|
|