Hi @jakaskerl , I've tried to follow your suggestion but I got nothing new. The three output layers that I mentioned before have the following shapes (2246400,) (561600,) (140400,), respectively. And when I try to reshape them as shown in the code you mentioned:
detections = output.reshape((num_detections, num_values_per_detection))
I got the error "ValueError: cannot reshape array of size 2246400 into shape (26428,85)".
I believe the reason behind this issue is that the example you provided is for object detection and what I'm trying to do here is for object segmentation with YOLOv5-seg. In fact, this hypothesis was corroborated since I've tested the same code with YOLOv5 for object detection and it works.
Do you have any idea how object segmentation with YOLOv5-seg can be integrated and run successfully in OAK?
Thanks for the help.