Return coordinates for bounding boxes Google's Object Detection API

前端 未结 2 1157
天命终不由人
天命终不由人 2021-01-14 12:03

How can i get the coordinates of the produced bounding boxes using the inference script of Google\'s Object Detection API? I know that printing boxes[0][i] returns the predi

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-14 12:34

    The boxes array that you mention contains this information and the format is a [N, 4] array where each row is of the format: [ymin, xmin, ymax, xmax] in normalized coordinates relative to the size of the input image.

提交回复
热议问题