fix(object_detection): add link from image_manip to nn node

This commit is contained in:
Cyrille Nofficial 2022-11-11 13:36:15 +01:00
parent 642df5b927
commit 7ebd9093d9

View File

@ -159,6 +159,7 @@ class ObjectDetectionNN:
self._xout = self._configure_xout_nn(pipeline) self._xout = self._configure_xout_nn(pipeline)
self._detection_nn.out.link(self._xout.input) self._detection_nn.out.link(self._xout.input)
self._manip_image = self._configure_manip(pipeline) self._manip_image = self._configure_manip(pipeline)
self._manip_image.out.link(self._detection_nn.input)
@staticmethod @staticmethod
def _configure_manip(pipeline: dai.Pipeline) -> dai.node.ImageManip: def _configure_manip(pipeline: dai.Pipeline) -> dai.node.ImageManip: