Skip to content

feat: camera capture — bambu snap + stream (#4)#30

Merged
abe238 merged 1 commit into
mainfrom
feature/4-camera-capture
May 26, 2026
Merged

feat: camera capture — bambu snap + stream (#4)#30
abe238 merged 1 commit into
mainfrom
feature/4-camera-capture

Conversation

@abe238
Copy link
Copy Markdown
Owner

@abe238 abe238 commented May 26, 2026

9 new tests in tests/test_camera.py. 107 total passing. Closes #4.

bambu snap <out.jpg>                   single-frame capture
bambu stream [--out-dir D] [--interval S] [--max N]

camera.py:
- open_camera(printer): ctx mgr handling start/stop + warmup
- save_frame(img, path): atomic JPEG write
- stream_frames(...): testable loop with sleep/now injection

Closes #4.
@abe238 abe238 merged commit ef4c59b into main May 26, 2026
4 checks passed
@abe238 abe238 deleted the feature/4-camera-capture branch May 26, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Camera frame capture from chamber cam

1 participant