• DepthAI
  • No detection on Visualizer - Depthai SDK - Yolov5s

my code:

from depthai_sdk import OakCamera

with OakCamera() as oak:
color = oak.create_camera('color')
nn = oak.create_nn("D:/yolo_retail/yolov5stest/result/yolov5s_openvino_2022.1_6shave.blob", color)
oak.visualize([nn, color], scale=2 / 3, fps=True) # 1080P -> 720P
oak.start(blocking=True)

My Output:

Why bounding boxes are not appearing!?
FPS with yolov5s 640 are fine.
Please guide.

  • erik replied to this.

    Hi SamiUddin ,
    Besides blob, you need to provide SDK also YOLO anchors/masks and labels. The easiest way would be to provide config json, where all of this is specified (exampe json). I'd suggest checking the readme and scripts for on yolo device-decoding .
    Thanks, Erik