Dev.to
7/20/2026

I Taught a Security Camera to Say "I Don't Know" — and It Got More Useful, Not Less
Short summary
A hackathon-built doorbell camera AI uses YOLOv8n for detection and Qwen-VL for classification, but the key insight is teaching the system to say "I don't know" when visual evidence is insufficient. The author deliberately avoids biometric identity storage, opting for visit-pattern memory instead, and hard-codes a no-autonomous-action constraint. Real-world engineering pitfalls (Unicode crashes, sandboxed networking, frame buffering) round out a candid build log.
- •Doorbell camera AI trained to admit uncertainty instead of hallucinating familiar faces
- •Privacy-first design: stores visit patterns, not biometric identity data
- •Honest debugging log of production pitfalls: em-dash crashes, silent sandbox blocks, frame backlog
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



