Commit Graph

42 Commits

Author SHA1 Message Date
bankosegger
1ff006bc3c feat: print a random TU Wien quote under each photo 2026-11-14 16:28:55 +01:00
bankosegger
f406b36c5f feat: print the capture date and time under the keepsake line 2026-11-14 16:28:55 +01:00
bankosegger
181a0512bd feat: caption printed photos with the event and a keepsake line 2026-11-14 16:28:55 +01:00
bankosegger
c7af3e320b fix: print each raster band as its own ESC/POS job
The Birch 0CP-Q3 loses sync unless GS v 0 directly follows ESC @, and on
either SII head command, printing the dot data as metres of text instead
of the photo. Initialize per band and leave density and speed unset.
2026-11-14 16:28:55 +01:00
Michael
b71e2b32e6 feat: write captured photos to /dev/shm/latest.png asynchronously
Check if /dev/shm exists on photo capture and write the photo to
/dev/shm/latest.png asynchronously using a spawned thread. This ensures
the render thread doesn't pause or freeze during the file write operation.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-14 14:36:42 +01:00
Michael
8c43984652 feat: extend photo countdown to five seconds 2026-11-13 00:48:28 +01:00
Michael
fb5ce525bb feat: add portrait line art to flash screen 2026-11-13 00:48:28 +01:00
Michael
c28428a2f3 fix: brighten capture flash overlay 2026-11-13 00:36:25 +01:00
bankosegger
4fb2ad7757 feat: default to an 80 mm USB thermal printer
Fall back to /dev/usb/lp0 at 576 dots when the printer variables are
unset; an empty PHOTOBOOTH_PRINTER still disables printing. Log the
resolved printer at startup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:06:36 +01:00
bankosegger
a2b83744db feat: load printer configuration from .env
Configure the 80 mm thermal printer (576 dots) via a committed .env file,
loaded at startup with dotenvy. Real environment variables take precedence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:00:03 +01:00
bankosegger
eae81bb052 feat: print captured photos on an ESC/POS thermal printer
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 14:56:41 +01:00
Michael
898ceb5726 fix: move capture inference and print hook off camera thread 2026-11-10 15:10:19 +01:00
Michael
838becdd70 feat: use YuNet face detection with debug-only live boxes 2026-11-10 15:03:18 +01:00
Michael
9cf760e7a6 fix: restore empty photo printing hook 2026-11-10 15:03:18 +01:00
Michael
6437261a65 feat: show throttled live face detection rectangles 2026-11-10 14:55:34 +01:00
Michael
994c78cc26 fix: accept frontal faces when eye detection is inconclusive 2026-11-10 14:52:36 +01:00
Michael
2e21946300 feat: print captured photos per detected frontal face 2026-11-10 14:49:59 +01:00
Michael
085a5e9cc0 feat: mirror camera frames for selfie preview 2026-11-08 16:17:40 +01:00
Michael
b8398618d7 fix: allow more palm movement while progress fills 2026-11-08 15:05:05 +01:00
Michael
4450eaeca3 fix: wait for camera readiness during startup 2026-11-08 14:52:41 +01:00
Michael
47d0b66443 fix: retain instruction layouts across countdown transitions 2026-11-08 14:34:19 +01:00
Michael
c9b442c61c fix: soften privacy text shadow and avoid unnecessary wrapping 2026-11-08 14:30:17 +01:00
Michael
f02bae87eb fix: move privacy note to top right with readable shadow 2026-11-08 14:24:51 +01:00
Michael
8a0dc6f5bd feat: add bilingual privacy note below instructions 2026-11-08 14:22:39 +01:00
Michael
4acec0c87e fix: shorten steady-hand wait before progress starts 2026-11-08 14:15:13 +01:00
Michael
ef4ae15abb feat: report OpenCV runtime settings for performance debugging 2026-11-08 13:43:16 +01:00
Michael
60dc3a76f7 feat: log slow camera and detection operations 2026-11-08 13:33:38 +01:00
Michael
93bb1e3b22 fix: tune kiosk scaling for 1280x1024 displays 2026-11-08 13:25:37 +01:00
Michael
ee8d8946d9 fix: show translucent countdown without a panel 2026-11-08 13:07:50 +01:00
Michael
85cf19dac7 fix: hold white illumination until photo capture completes 2026-11-08 13:06:07 +01:00
Michael
82eab93fe1 feat: add flash countdown and responsive photobooth overlays 2026-11-08 13:04:43 +01:00
Michael
2ec88c5236 fix: refine light photobooth UI for Linux KMS 2026-11-08 12:59:01 +01:00
Michael
16c4c03318 feat: add fullscreen bilingual photobooth interface 2026-11-08 12:52:08 +01:00
Michael
ae004379a7 fix: tolerate natural hand poses and smooth palm tracking 2026-11-08 12:50:54 +01:00
Michael
524a9ec4b7 feat: add palm detection and open-hand verification 2026-11-08 12:47:27 +01:00
Michael
a99bd2e69c fix: use cvt_color_def 2026-11-08 02:17:23 +01:00
Michael
13698336dd feat: camera window 2026-11-08 02:13:07 +01:00
Michael
1cddc20bb6 fix: prevent window from being closed 2026-11-06 23:31:43 +01:00
Michael
d0d2d0311b fix: add linuxkms support 2026-11-06 21:40:22 +01:00
Michael
ec2a831caf fix: update Cargo.lock 2026-11-06 21:18:53 +01:00
Michael
874d52d174 fix: rename binary 2026-11-06 21:16:02 +01:00
Michael
f878c542f1 Initial Commit 2026-11-06 21:06:58 +01:00