How dorukkumkumoglu/optocamzero works
Optocam Zero is a Raspberry Pi Zero pocket camera, combining printable hardware with an on-device camera application and a Wi-Fi gallery. The main user workflow is to operate camera controls, preview and capture images or GIFs, save media, then browse or transfer it from a phone or computer over the hotspot. The graph also preserves the documented filter, playback, and hardware-build capabilities. Some subsystem links rely on README descriptions and the file tree; unsampled implementation details are not expanded.
Main entry points: optocam_app.cpp Camera application · gallery_server.py Gallery server · optocam_hud.h HUD and filters · S90wifi Wi-Fi hotspot
Components 19
Camera runtime
- Camera application
software/firmware-buildroot/src/optocam_app.cpp - Live preview
software/firmware-buildroot/src/optocam_preview.cpp - Camera controls
software/firmware-buildroot/src/optocam_app.cpp
Media and interface
- Photo storage
software/firmware-buildroot/overlay/home/dkumkum/photos - HUD and filters
software/firmware-buildroot/src/optocam_hud.h - Image rendering
software/firmware-buildroot/src/optocam_render.h - GIF encode and playback
software/firmware-buildroot/src/optocam_gif.h - Filter calibration assets
software/firmware-buildroot/overlay/usr/share/optocam
Hotspot and gallery
- Gallery server
software/firmware-buildroot/overlay/usr/share/optocam/gallery_server.py - Wi-Fi hotspot
software/firmware-buildroot/overlay/etc/init.d/S90wifi - Custom filter settings
software/firmware-buildroot/overlay/usr/share/optocam/gallery_server.py
Device and hardware
- Startup splash
software/firmware-buildroot/src/optocam_splash.c - Buildroot device image
software/firmware-buildroot - Printable camera hardware
hardware
Other components
- Camera user
- Autofocus camera
- Camera display
- Phone or computer
- Device builder
Connections 21
- Camera user → Camera controls: operates
- Camera controls → Camera application: signals
- Autofocus camera → Camera application: captures frames
- Camera application → Autofocus camera: controls autofocus
- Camera application → Camera display: draws preview and UI
- Camera application → Photo storage: saves photos and GIFs
- Camera application → HUD and filters: uses UI and filters
- HUD and filters → Image rendering: draws interface
- Camera application → Image rendering: renders images
- Camera application → GIF encode and playback: encodes and decodes
- Camera application → Filter calibration assets: loads filter assets
- Gallery server → Photo storage: reads and manages media
- Phone or computer → Wi-Fi hotspot: connects over Wi-Fi
- Wi-Fi hotspot → Gallery server: enables access
- Phone or computer → Gallery server: browses and transfers
- Phone or computer → Custom filter settings: edits filters
- Gallery server → Custom filter settings: reads and writes
- Camera application → Custom filter settings: loads filter settings
- Buildroot device image → Camera application: provides runtime
- Startup splash → Camera display: shows startup image
- Device builder → Printable camera hardware: builds enclosure