SAOS-3624/dsh-see-now
让 AI 实时看见你的屏幕:按变化量筛选帧、多帧拼进一张图,静止画面几乎不花 token
dsh-see-now — Let AI see your screen in real time
What it is: A plugin for DSH (DeepSeek Host) that turns your screen (or camera/video) into a stream of only the frames that changed — then packs those frames into a single image and sends it to the AI model. Instead of sending 30 full screenshots per minute, it sends 2–3 images for the same 30 seconds of activity.
How it works
- Every frame gets a “change score” (0–255) — computed by comparing HSV color differences on a 64×36 grid, taking about 0.2 ms per frame.
- Only frames that pass one of two tests are kept:
- Cut point — a sudden, isolated jump in score (e.g., a slide change, window switch).
- Accumulated motion — a steady low-level change that builds up enough “points” to trigger a capture (e.g., a continuous pan in a video).
- Kept frames are stitched into one image (a “sheet”) — so the fixed cost of sending an image is spread across 4–8 frames.
This means: a static screen produces almost no images (one fallback every 20 seconds), a scrolling page produces one image every ~15 seconds, and a hard-cut slideshow keeps exactly one frame per slide.
Cost savings
- Token cost is per image, not per frame — 4 or 8 frames in one image cost the same.
- The canvas width is deliberately aligned to 42-pixel blocks (not 16:9) to avoid wasted padding — this saves 11–24 tokens per image with zero quality loss.
- The audio waveform strip at the bottom of the image uses leftover vertical space that would otherwise be billed anyway — it adds no extra tokens.
| Quality | Canvas (image + audio strip) | Tokens per image |
|---|---|---|
low (default) |
798×462 | 222 |
standard |
1050×630 | 392 |
high |
1260×756 | 560 |
ultra |
1596×924 | 860 |
Key features
saychannel — the only way to make the AI speak aloud and show text in a floating window. Normal replies are text-only.- Region mode — tell the AI to “frame this area” and it will capture only that part of the screen (e.g., a video player or chat window).
- Three pacing modes (
calm,normal,dense) — control how sensitive the change detection is and how often the AI is woken up. - Scene mode — one full-size image per scene change, useful for “describe each slide as it appears.”
- Audio transcription — on Windows, it can capture system audio (via WASAPI loopback) and transcribe speech in the video, adding subtitles to the image. Requires a Python package and optionally a local ASR service (DSH desktop has one built-in).
- Voice output — optional TTS adapter (e.g., macOS
saycommand) to speak the AI’s responses.
Usage
Install via DSH’s plugin manager:
dsh plugin --profile web add dsh-see-now
Then restart DSH. The model can call:
see_now({ action: "watch" }) // blocks until an image is ready, returns it
see_now({ action: "watch", say: "…" }) // also speaks the text
It can also be used as a standalone Node library (capture, pipeline, PNG export are independent).
Platform support
| Platform | Screen capture | Extra setup |
|---|---|---|
| Windows | ddagrab (falls back to gdigrab) |
None |
| macOS | avfoundation |
Grant Screen Recording permission in System Settings |
| Linux | Not yet | — |
Audio transcription works only on Windows (macOS would need a virtual audio device).
Limitations (from README)
- Detects visual changes, not semantic ones — two layouts of the same text count as changes.
- No cross-frame deduplication beyond a coarse filter.
- Region mode sees only what’s actually on screen (no background/minimized windows without OBS).
- On macOS, missing screen-recording permission silently produces black frames (the plugin warns you).
- Audio transcription is machine-generated and may contain errors.
License
Apache License 2.0 — free for personal, commercial, closed-source, SaaS, and redistribution. Just keep the LICENSE and NOTICE files. No CLA required for contributions.
Copyright © 2026 SAOS-3624
Related
- Project
- Project
- Project
- Project