Overview
FERAL’s smart glasses integration enables real-time video streaming, scene analysis via the vision pipeline, AR overlay commands, and hands-free voice interaction. The glasses act as a first-person sensor for the brain — providing continuous visual context about your environment.Supported Devices
| Device | Connection | Features |
|---|---|---|
| FERAL Glasses (reference) | BLE + Wi-Fi | Video, audio, AR overlay, touch |
| Meta Ray-Ban | Companion app bridge | Photo capture, audio, voice |
| Vuzix Blade 2 | Wi-Fi direct | Video, AR overlay |
| Custom ESP32-CAM builds | BLE / Wi-Fi | Video stream, basic audio |
Third-party glasses support varies. The FERAL reference glasses support the full feature set. Other devices may only support a subset.
Connection Setup
Video Streaming Protocol
Glasses stream video to the brain over Wi-Fi using a lightweight protocol:| Setting | Default | Options |
|---|---|---|
stream_resolution | 720p | 480p, 720p, 1080p |
stream_fps | 15 | 5 – 30 |
codec | mjpeg | mjpeg, h264 |
vision_interval | 2s | How often frames are sent to the vision model |
Scene Analysis Pipeline
The brain processes video frames through a multi-stage pipeline:
Example scene context:
AR Overlay Commands
Send visual overlays to the glasses display:| Overlay Type | Description |
|---|---|
notification | Toast-style message in corner |
hud | Persistent heads-up data (HR, time, next event) |
highlight | Outline a detected object in the scene |
navigation | Turn-by-turn directional arrows |
text | Arbitrary text at a specified position |
Hands-Free Voice
With glasses connected, FERAL’s voice pipeline uses the glasses microphone and speaker:- Wake word detection runs on-device (glasses)
- Audio streams to the brain for processing
- Responses play through the glasses speaker or bone conduction
Privacy Controls
settings.json
Troubleshooting
Video stream not connecting
Video stream not connecting
Ensure the glasses and FERAL host are on the same Wi-Fi network. Check firewall rules for the streaming port.
High latency on scene analysis
High latency on scene analysis
Reduce
stream_fps and stream_resolution. If using a cloud vision model, latency depends on your internet connection — switch to a local model for faster results.AR overlay not displaying
AR overlay not displaying
Verify
ar_overlay is true in settings and that your glasses model supports overlays.