Pi HQ Camera - High Resolution Time-lapses w/ Cura Post Processing Script


I've been using the Raspberry Pi HQ camera to capture 1920x1080 photos of my 3D prints (which are later converted to time-lapse videos via Adobe Premiere Pro) for a few months now with very few issues. I use a Pi Zero 2 W running Octoprint & Octolapse on an Anycubic Mega X. Octolapse runs just fine and captures great pictures, but sometimes I want a little more control over the location of the hot-end when the pictures are taken (and sometimes I drive it to the side to press a limit switch to trigger my DSLR as well), so I run the Cura Time-Lapse Post Processing Script in tandem with Octolapse. When using this Cura script, I also set Octolapse to capture pictures only when directed to by the g-code (the script inserts Octolapse's "SNAP" command after each layer change, for example). All is well and good and I get exactly the results I expect, but the photos are limited to 1080 since they are taken from the mjpg streamer. I'd like to take advantage of the high resolution HQ camera, potentially by inserting an alternate "snap" command after each layer change, which would act as a trigger for a Python script or some such plugin which acquires a photo that is not sourced from the mjpg streamer. Any suggestions?

What did you already try to solve it?

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)

Additional information about your setup (OctoPrint version, OctoPi version, ...)

1 Like