yaseminozkut commited on
Commit ·
25b50f2
1
Parent(s): 5bfb813
update readme file
Browse files
README.md
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
-
-
|
| 2 |
-
title: Judgy Reachy No Phone
|
| 3 |
-
emoji: 📱
|
| 4 |
-
colorFrom: red
|
| 5 |
-
colorTo: orange
|
| 6 |
-
sdk: static
|
| 7 |
-
pinned: false
|
| 8 |
-
short_description: Get off your phone! Reachy Mini shames you with snarky comments
|
| 9 |
-
tags:
|
| 10 |
-
- reachy_mini
|
| 11 |
-
- reachy_mini_python_app
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
# 📱 Judgy Reachy No Phone 🤖
|
| 15 |
|
| 16 |
**A Reachy Mini app that detects when you pick up your phone and shames you with snarky comments.**
|
| 17 |
|
|
@@ -50,9 +37,26 @@ Stop checking your phone and get back to work! This app uses computer vision to
|
|
| 50 |
| LLM | Pre-written lines | Groq (free tier) |
|
| 51 |
| TTS | Edge TTS (unlimited) | ElevenLabs (10k chars/month) |
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
## Installation
|
| 54 |
|
|
|
|
|
|
|
| 55 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
pip install .
|
| 57 |
```
|
| 58 |
|
|
@@ -72,22 +76,27 @@ pip install .[premium-tts]
|
|
| 72 |
|
| 73 |
Get free API key at [elevenlabs.io](https://elevenlabs.io)
|
| 74 |
|
| 75 |
-
##
|
| 76 |
|
| 77 |
-
Run the app:
|
| 78 |
```bash
|
| 79 |
-
|
| 80 |
```
|
| 81 |
|
| 82 |
-
|
| 83 |
-
```python
|
| 84 |
-
from judgy_reachy_no_phone.main import JudgyReachyNoPhone
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
|
|
|
|
|
|
| 89 |
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
## Configuration
|
| 93 |
|
|
@@ -100,36 +109,33 @@ The web UI will be available at http://localhost:7863
|
|
| 100 |
|
| 101 |
### Pre-written Snarky Lines
|
| 102 |
|
| 103 |
-
The app includes 20+ pre-written responses that work without any API
|
| 104 |
-
|
| 105 |
-
- **1st offense**: "The phone? Already?", "And so it begins."
|
| 106 |
-
- **2nd-3rd**: "Again?", "Back to the phone I see."
|
| 107 |
-
- **4+ offenses**: "I've lost count.", "Phone addiction is real."
|
| 108 |
|
| 109 |
## Stats Tracked
|
| 110 |
|
| 111 |
- **Pickups Today**: Count of phone pickups in current session
|
| 112 |
-
- **
|
| 113 |
- **Best Streak**: Longest period without phone pickup
|
| 114 |
|
| 115 |
## Technical Details
|
| 116 |
|
| 117 |
-
- **Detection**:
|
| 118 |
- **Phone Class ID**: COCO dataset class 67 ("cell phone")
|
|
|
|
|
|
|
| 119 |
- **Detection Threshold**: 3 consecutive frames to confirm pickup
|
| 120 |
- **Putdown Threshold**: 15 frames to confirm phone down (avoids flicker)
|
| 121 |
-
- **Frame Rate**: 5 Hz for efficient processing
|
| 122 |
|
| 123 |
## Requirements
|
| 124 |
|
| 125 |
- Reachy Mini robot with camera
|
| 126 |
- Python 3.10+
|
| 127 |
-
- Internet connection (for first-time YOLO model download and TTS)
|
| 128 |
|
| 129 |
## License
|
| 130 |
|
| 131 |
-
|
| 132 |
|
| 133 |
## Credits
|
| 134 |
|
| 135 |
-
Built for [Reachy Mini](https://huggingface.co/spaces/pollen-robotics/Reachy_Mini) by Pollen Robotics & Hugging Face.
|
|
|
|
| 1 |
+
# 📱 Judgy Reachy No Phone 🤖 - Feel free to shame yourself and others!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
**A Reachy Mini app that detects when you pick up your phone and shames you with snarky comments.**
|
| 4 |
|
|
|
|
| 37 |
| LLM | Pre-written lines | Groq (free tier) |
|
| 38 |
| TTS | Edge TTS (unlimited) | ElevenLabs (10k chars/month) |
|
| 39 |
|
| 40 |
+
## Prerequisites
|
| 41 |
+
|
| 42 |
+
Before installing this app, you need to set up Reachy Mini SDK:
|
| 43 |
+
|
| 44 |
+
1. **Install Reachy Mini SDK**: Follow the installation guide at:
|
| 45 |
+
- [Reachy Mini Installation Guide](https://github.com/pollen-robotics/reachy_mini/blob/develop/docs/SDK/installation.md)
|
| 46 |
+
- [Reachy Mini Quickstart](https://github.com/pollen-robotics/reachy_mini/blob/develop/docs/SDK/quickstart.md)
|
| 47 |
+
|
| 48 |
+
2. **Get the SDK**: Clone from [pollen-robotics/reachy_mini](https://github.com/pollen-robotics/reachy_mini)
|
| 49 |
+
|
| 50 |
## Installation
|
| 51 |
|
| 52 |
+
Once Reachy Mini SDK is installed:
|
| 53 |
+
|
| 54 |
```bash
|
| 55 |
+
# Clone this repository
|
| 56 |
+
git clone https://github.com/yaseminozkut/judgy_reachy_no_phone
|
| 57 |
+
cd judgy_reachy_no_phone
|
| 58 |
+
|
| 59 |
+
# Install the app
|
| 60 |
pip install .
|
| 61 |
```
|
| 62 |
|
|
|
|
| 76 |
|
| 77 |
Get free API key at [elevenlabs.io](https://elevenlabs.io)
|
| 78 |
|
| 79 |
+
### Install Everything
|
| 80 |
|
|
|
|
| 81 |
```bash
|
| 82 |
+
pip install .[llm,premium-tts]
|
| 83 |
```
|
| 84 |
|
| 85 |
+
## Usage
|
|
|
|
|
|
|
| 86 |
|
| 87 |
+
### Start Reachy Mini Daemon
|
| 88 |
+
|
| 89 |
+
Make sure your reachy-mini-daemon is running please check [Reachy Mini Quickstart](https://github.com/pollen-robotics/reachy_mini/blob/develop/docs/SDK/quickstart.md) to know how to run:
|
| 90 |
+
- Simulation vs. Lite vs. Wireless
|
| 91 |
+
- MacOS vs. Windows/Linux
|
| 92 |
|
| 93 |
+
### Launch the App
|
| 94 |
+
|
| 95 |
+
The app will automatically detect if you're in simulation mode and use the appropriate camera:
|
| 96 |
+
- **Simulation mode**: Uses your laptop webcam
|
| 97 |
+
- **Real robot**: Uses robot's camera
|
| 98 |
+
|
| 99 |
+
Access the web UI at **http://localhost:8042**
|
| 100 |
|
| 101 |
## Configuration
|
| 102 |
|
|
|
|
| 109 |
|
| 110 |
### Pre-written Snarky Lines
|
| 111 |
|
| 112 |
+
The app includes 20+ pre-written responses with personalities that work without any API.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
## Stats Tracked
|
| 115 |
|
| 116 |
- **Pickups Today**: Count of phone pickups in current session
|
| 117 |
+
- **Current Streak**: Current period without phone pickup
|
| 118 |
- **Best Streak**: Longest period without phone pickup
|
| 119 |
|
| 120 |
## Technical Details
|
| 121 |
|
| 122 |
+
- **Detection**: YOLO26 nano model for fast inference
|
| 123 |
- **Phone Class ID**: COCO dataset class 67 ("cell phone")
|
| 124 |
+
- **Camera Capture**: ~100 FPS max (0.01s sleep)
|
| 125 |
+
- **Detection Rate**: Every 3rd frame (~33 FPS)
|
| 126 |
- **Detection Threshold**: 3 consecutive frames to confirm pickup
|
| 127 |
- **Putdown Threshold**: 15 frames to confirm phone down (avoids flicker)
|
|
|
|
| 128 |
|
| 129 |
## Requirements
|
| 130 |
|
| 131 |
- Reachy Mini robot with camera
|
| 132 |
- Python 3.10+
|
| 133 |
+
- Internet connection (for first-time YOLO model download, LLM, and TTS)
|
| 134 |
|
| 135 |
## License
|
| 136 |
|
| 137 |
+
Apache 2.0
|
| 138 |
|
| 139 |
## Credits
|
| 140 |
|
| 141 |
+
Built by **Yasemin Ozkut** for [Reachy Mini](https://huggingface.co/spaces/pollen-robotics/Reachy_Mini) by Pollen Robotics & Hugging Face.
|