I’m trying to customize gst-dsexample to make it transform the incoming video stream into a mono (black and white) video.
I’m working on the function:
gst_dsexample_transform_ip (GstBaseTransform * btrans, GstBuffer * inbuf)
in the section dedicated to full-frame operations.
However I have no idea how to apply the filter to be able to make the scene monochrome.
thank you all