Is there any way to do this? ImageManip is able to convert to YUV400, but it repeats the same values across 3 channels instead of squeezing to 1 channel. I'm looking for a throughput out of the device, so it doesn't help me to do it on a connected host. OAK-D-POE-PRO with script node in standalone, with additional TCP socket connection to host.
Convert ColorCamera frames to single-channel grayscale?
- Best Answerset by robotaiguy
Hi @robotaiguy
Set the frame type to GRAY8:
manip = pipeline.create(dai.node.ImageManip)
manip.initialConfig.setFrameType(dai.RawImgFrame.Type.GRAY8)
camRgb.preview.link(manip.inputImage)
manip.out.link(xoutRgb.input)
Thanks,
Jaka