Cell 30 runs the detector on 25 images. The model returns up to 100 boxes per image, each as \([y_{\min}, x_{\min}, y_{\max}, x_{\max}]\) relative to the image, with a COCO class id and a score.
The loop keeps boxes with score at least min_score_thresh = 0.3 and converts each one to FiftyOne's convention:
$$[x, y, w, h] = [x_{\min},\ y_{\min},\ x_{\max} - x_{\min},\ y_{\max} - y_{\min}] .$$
Output of cell 30
80
['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush']
100% |███████████████████| 25/25 [18.9s elapsed, 0s remaining, 2.4 samples/s]