Open 759401524 opened 3 years ago
Hi @759401524
Thanks for the report. As of right now, NV12 ImgFrames (that come from video
output) aren't supported by ImageManip. One option would be to use isp
output which is YUV420p type, but not all configurations are supported in that case either.
I am currently refactoring the ImageManip
node to support more configurations as well as different types of inputs and outputs including NV12.
Will create a PR with fixes in the near future.
Control ColorCamera with ImageManipConfig
Use RectCrop to crop the video node, and set the parameters according to
setCropRect(self: depthai.ImageManipConfig, xmin: float, ymin: float, xmax: float, ymax: float) → None
, it seems wrongUse CenterCrop to crop the video node, set the parameters according to
CenterCrop(self: depthai.ImageManipConfig, ratio: float, whRatio: float) → None
, the picture remains unchangedControl ImageManip with ImageManipConfig
Use
Rect Crop
orCenterCrop
to crop the video node, some parameter values will have the following errors[ImageManip(3)] [error] Processing failed, potentially unsupported config