I am using yolov4*_*tiny_coco_416x416 with depthai. I have set following specification in the pipeline:

spatialDetectionNetwork.setNumClasses(80)

spatialDetectionNetwork.setCoordinateSize(4)

spatialDetectionNetwork.setAnchors([

10, 14, 23, 27, 37, 58, 81, 82, 135, 169, 344, 319 # Adjust these values

])

spatialDetectionNetwork.setAnchorMasks({

"side13": [0, 1, 2],

"side26": [3, 4, 5]

})

spatialDetectionNetwork.setBoundingBoxScaleFactor(0.6) # Adjust scale factor

spatialDetectionNetwork.setConfidenceThreshold(0.4)

But I am getting very small bounding boxes. What can be the possible issue?

    Hi AmmarAhmedSiddiqui
    Likely nothing wrong with the model or the configuration, but with BBOX overlay. Could you show the host side code for drawing the bounding boxes.

    Thanks,
    Jaka