Repository navigation
The first public release of the How We Feel+ Realtime Extension, a Scratch extension that uses your camera’s brightness input to simulate emotion detection in real-time. Great for interactive Scratch projects that respond to your current mood!
✨ Features
- 🧠 Real-Time Facecam Emotion Detection (based on brightness)
- 📸 Requires unsandboxed mode + camera access
- 😃 Supports 21+ emotions, including:
- Happy, Sad, Angry, Excited, Bored, Curious, Fearful, and more!
- 📊 Logs each detection with timestamp
- 🧾 Reports total detections and percentage per emotion
- 🧠 Smart detection toggles and detection interval control
- 📣 Broadcast triggers on emotion change (
I feel [emotion]!) - 🌀 Detects "emotion burst" (3x in a row)
🧪 Requirements
- Scratch environment must support unsandboxed extensions
- User must allow camera access (permission is requested automatically)
- Best used with ExtForge
📄 Block Types
| Type | Block Description |
|---|---|
hat |
(Broadcast) I feel [emotion]! |
command |
Start emotion detection |
command |
Stop emotion detection |
command |
I feel [emotion] (manual override) |
command |
Set smart detect to [on/off] |
command |
Set detection interval to [x] seconds |
command |
Reset emotion log |
reporter |
Emotion log |
reporter |
Latest emotion |
reporter |
Count of [emotion] felt |
reporter |
Detected emotion |
reporter |
Detected emoji |
reporter |
Emotion % for [emotion] |
reporter |
Emotion percent number for [emotion] |
reporter |
Total detections |
reporter |
Most frequent emotion |
boolean |
Detect burst (same emotion 3+ times) |
🛠️ Usage
To get started:
- Open the project in an unsandboxed Scratch-compatible editor like ExtForge.
- Allow camera access when prompted.
- Use the
start emotion detectionblock. - Enjoy automatic mood detection in your projects!
🔒 This extension respects your privacy – it does not transmit video data.
🧠 All emotion logic is based on visual brightness levels only.
Feel free to open issues or suggest new features in the repo. Thank you for trying How We Feel+!