Using opencv 4.7.0 for object detection, run the following inference:
…
ReadNetFromONNX (…)
Net. setPreferableBackend (DNN_BackEND-CUDA);
Net. setPreferableTarget (DNN_TARGetCUDA);
Net. setInput (blob);
Net. forward (outs, this. unconnectedOutLayersName);
…
The returned inference result is correct, and the coordinates, width, height, and confidence of each box are all correct.
But using opencv4.9.0 for inference, each box has a confidence level, but the coordinates and width and height are both 0.0
why? help me