I'm trying to set the input queue size and blocking on the Script node input and I'm not having any luck.
Here's the start of my pipeline code. I'm using V3:
rgbCam = pipeline.create(dai.node.Camera).build(dai.CameraBoardSocket.CAM_A)
script = pipeline.create(dai.node.Script)
rgbStream = rgbCam.requestFullResolutionOutput(useHighestResolution=True,type=dai.ImgFrame.Type.BGR888p, fps=10)
rgbStream.link(script.inputs["rgb_in])
script.inputs["rgb_in"].setQueueSize(1)
script.inputs["rgb_in"].setBlocking(False)
I'm getting the error:
script.inputs["rgb_in"].setQueueSize(1)
AttributeError: 'depthai.Input' object has no attribute 'setQueueSize'
I already have the output queue from the script set to a queue size of 1 and blocking to False but that's not helping for latency in getting the latest image from the stream. Documentation says the default inputs are set to blocking with queue size 8 and I can't figure out how to set that.
I got in an argument with your AI and now I'm here. Any suggestions?
Thanks guys for any help.