While recording the video in rgb using oak-d pro, is it possible to pass the grayscale frame to the camera for detections?

    karmikbarodia

    # Define source and output
    camRgb = pipeline.create(dai.node.ColorCamera)
    xoutRgb = pipeline.create(dai.node.XLinkOut)
    
    xoutRgb.setStreamName("rgb")
    
    # Properties
    camRgb.setInterleaved(False)
    camRgb.setColorOrder(dai.ColorCameraProperties.ColorOrder.RGB)
    
    # manip
    manip = pipeline.create(dai.node.ImageManip)
    manip.setFrameType(dai.RawImgFrame.Type.GRAY8)
    manip.setMaxOutputFrameSize(2073600)
    
    manip.out.link(xoutRgb.input)
    
    # Linking
    camRgb.video.link(manip.inputImage)

    Thanks,
    Jaka