Allow for Debug Cam output
Allow for a second v4l2loopback cam output to be enabled which receives the image mask detected by the NN (plain mask, no source image). Depending on what is available this might provide the greyscale "likelyhood" map from the NN for further processing.
Hi BenBE, in my fork, I simply throw additional cv:imshow() calls in at higher debug levels, this was good enough to see what was going on while I played with masking/averaging/etc. That said - having the processed mask available as a stream for OBS or similar might be a more 'unix philosophy' approach - deepbacksub becomes a stream-to-stream person detector only, leaving the rest up to other bits of software?
@phlash I saw your fork yesterday, but hadn't yet had the time to have a closer look at all the changes in there. Are there any plans on upstreaming your changes back to @floe?
What about, instead of several windows floating around on screen, we'd just allow for additional output cam devices to be specified on the command line and simply output the debug images there if they are given?
Also. would you mind having a look at the changes from #36 (for your fork)? Those might make the overall tooling much more comfortable for (new/fresh) users to use.
Apologies to @floe for the slightly OT spam - just wanted to let @BenBE know I have pulled his changes from #36 into my fork.