# cf-vision environment — copy to .env and fill in values # cf-vision does not auto-load .env; consumers load it in their own startup. # ── Dolphin-v2 document parser ──────────────────────────────────────────────── # HuggingFace model: ByteDance/Dolphin-v2 # Requires ~8GB VRAM. Download cached automatically on first use. # Get a token at https://huggingface.co/settings/tokens HF_TOKEN= # ── Compute ─────────────────────────────────────────────────────────────────── # auto (detect GPU), cuda, cpu CF_VISION_DEVICE=auto # ── Mock mode ───────────────────────────────────────────────────────────────── # Set to 1 to use synthetic ImageFrame responses — no GPU or camera required. CF_VISION_MOCK= # ── OCR confidence threshold ────────────────────────────────────────────────── # Results below this are marked low-confidence in the ImageFrame output. CF_VISION_CONFIDENCE_THRESHOLD=0.7