Spaces:
Running
Running
Delete README.md
Browse files
README.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: FaceSense Live Phase 1
|
| 3 |
-
emoji: 🧠
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: green
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version: 5.7.1
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
license: mit
|
| 11 |
-
---
|
| 12 |
-
|
| 13 |
-
# FaceSense Live — Phase 1
|
| 14 |
-
|
| 15 |
-
This phase validates the live web app loop:
|
| 16 |
-
|
| 17 |
-
1. Browser webcam input
|
| 18 |
-
2. Server-side frame processing
|
| 19 |
-
3. Live face bounding boxes
|
| 20 |
-
4. A polished Gradio UI for Hugging Face Spaces
|
| 21 |
-
|
| 22 |
-
Prediction models are intentionally not included yet. After Phase 1 is working, Phase 2 will add expression classification and confidence smoothing.
|
| 23 |
-
|
| 24 |
-
## Local run
|
| 25 |
-
|
| 26 |
-
```bash
|
| 27 |
-
python -m venv .venv
|
| 28 |
-
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
| 29 |
-
pip install -r requirements.txt
|
| 30 |
-
python app.py
|
| 31 |
-
```
|
| 32 |
-
|
| 33 |
-
## Hugging Face Space deployment
|
| 34 |
-
|
| 35 |
-
Create a new Hugging Face Space using the Gradio SDK, then upload these files:
|
| 36 |
-
|
| 37 |
-
- `app.py`
|
| 38 |
-
- `requirements.txt`
|
| 39 |
-
- `README.md`
|
| 40 |
-
|
| 41 |
-
After the Space builds, open it and click the webcam recording button.
|
| 42 |
-
|
| 43 |
-
## Test checklist
|
| 44 |
-
|
| 45 |
-
- The app opens without build errors.
|
| 46 |
-
- The browser asks for webcam permission.
|
| 47 |
-
- The webcam stream starts.
|
| 48 |
-
- A green/cyan face bounding box appears around a frontal face.
|
| 49 |
-
- The live status card updates with face count and processing time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|