Nothing is being detected in Tensorflow Object detection API

后端 未结 5 1277
耶瑟儿~
耶瑟儿~ 2020-12-28 20:51

I\'m trying to implement Tensorflow object detection API sample. I am following sentdex videos for getting started. The sample code runs perfectly, it also shows the images

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-28 21:23

    the function visualize_boxes_and_labels_on_image_array has the following code:

      for i in range(min(max_boxes_to_draw, boxes.shape[0])):
        if scores is None or scores[i] > min_score_thresh:
    

    so, the score must be bigger than min_score_thresh (default 0.5), you can check whether there are some scores bigger than it.

提交回复
热议问题