rv & revid: add "probe" component to revid pipeline to allow processing of frames for turbidity metrics derivation

Issue #360 resolved
Saxon Milton created an issue

In preparation for integration of CV based turbidity measurements into rv, we need to provide a way to get frames from revid for processing early in the pipeline. It doesn’t at this stage seem appropriate to add the turbidity CV code to revid, given that revid’s purpose does not extend beyond video/audio capture, encoding/packetising and sending. We could however allow “probing” into the pipeline to “see” frames, allowing us to perform externally defined processing on the frames. It’s therefore proposed that we add a “probe” field to the Revid type, settable via a “SetProbe” method. The probe would implement the io.WriteCloser interface, so that we can plug into the start of the pipeline using an ioext.MultiWriteCloser. The probe’s Write method would be called at the same stage in the pipeline as the filtering.

Comments (2)

  1. Trek Hopton

    @Russell Stanley @Saxon Milton Just checking, has this issue been addressed in that branch that was merged?

  2. Log in to comment