Function mindspore::dataset::ConvertBoxes

Function Documentation

void mindspore::dataset::ConvertBoxes(std::vector<std::vector<float>> &boxes, const std::vector<std::vector<float>> &default_boxes, const BoxesConfig config)

Convert the prediction boxes to the actual boxes of (y, x, h, w).

Parameters
  • boxes[in] Actual size box.

  • default_boxes[in] Default box.

  • config[in] Objects of BoxesConfig structure.