In this experiment there is this line of code:
# Workaround: remove in 2.18, use cam.setPreviewNumFramesPool(10)
# This manip uses 15*4.7 MB => 70 MB of RAM.
copy_manip = pipeline.create(dai.node.ImageManip)
copy_manip.setNumFramesPool(15)
copy_manip.setMaxOutputFrameSize(1632 * 960 * 3)
cam.preview.link(copy_manip.inputImage)
I can't wrap my head around what happened in the 2.18 update that would make me change the code from what it is? What is the difference?