I've been poking away at building a system that takes the webcam stream and overlays some information about the print status. I was building this independently from octopi/octoprint, but I've realised that with octopi 1.0.0 it might be pretty easy to include a feature like this natively.
ffmpeg can overlay text onto a video with a single line, for example:
That line could be added to ffmpeg_hls.service. As far as I can tell, the overhead of having this always enabled is essentially nil.
The other side would then be a basic octoprint plugin that writes some information about the current print status to the /run/webcam/overlay.txt.
I would love to hear your thoughts on adding this. If it is wanted, I could flesh it out some more and maybe create a PR (though that might take me a while).
I've been poking away at building a system that takes the webcam stream and overlays some information about the print status. I was building this independently from octopi/octoprint, but I've realised that with octopi 1.0.0 it might be pretty easy to include a feature like this natively.
ffmpeg can overlay text onto a video with a single line, for example:
That line could be added to ffmpeg_hls.service. As far as I can tell, the overhead of having this always enabled is essentially nil.
The other side would then be a basic octoprint plugin that writes some information about the current print status to the
/run/webcam/overlay.txt
.I would love to hear your thoughts on adding this. If it is wanted, I could flesh it out some more and maybe create a PR (though that might take me a while).