Recall & Review
beginner
What is a bounding box in object detection?
A bounding box is a rectangle that tightly encloses an object in an image, defined by coordinates usually as (x_min, y_min, x_max, y_max). It helps locate and identify objects.
Click to reveal answer
beginner
How do you convert bounding boxes from (x, y, width, height) format to (x_min, y_min, x_max, y_max)?
You keep x_min = x, y_min = y, then calculate x_max = x + width - 1 and y_max = y + height - 1.
Click to reveal answer
intermediate
What is Intersection over Union (IoU) in bounding box handling?
IoU measures how much two bounding boxes overlap. It is the area of overlap divided by the area of union of the two boxes. It helps evaluate detection accuracy.
Click to reveal answer
intermediate
Why is Non-Maximum Suppression (NMS) used in bounding box handling?
NMS removes duplicate bounding boxes that detect the same object by keeping only the box with the highest confidence score and discarding others with high overlap.
Click to reveal answer
beginner
How can bounding boxes be normalized for neural network input?
Bounding box coordinates can be divided by the image width and height to scale them between 0 and 1, making them independent of image size.
Click to reveal answer
What does the bounding box format (x_min, y_min, x_max, y_max) represent?
✗ Incorrect
The format (x_min, y_min, x_max, y_max) defines the top-left and bottom-right corners of the bounding box.
What is the main purpose of Non-Maximum Suppression (NMS)?
✗ Incorrect
NMS removes overlapping bounding boxes that detect the same object, keeping only the best one.
How is Intersection over Union (IoU) calculated?
✗ Incorrect
IoU is the ratio of the overlapping area to the combined area of two bounding boxes.
Why normalize bounding box coordinates before feeding to a model?
✗ Incorrect
Normalization scales coordinates between 0 and 1, making them independent of image size.
Which PyTorch tensor shape is typical for a batch of bounding boxes?
✗ Incorrect
Bounding boxes are usually stored as [batch_size, number_of_boxes, 4_coordinates].
Explain how Non-Maximum Suppression (NMS) works and why it is important in bounding box handling.
Think about how multiple boxes might detect the same object and how to keep only one.
You got /4 concepts.
Describe the process to calculate Intersection over Union (IoU) between two bounding boxes.
Imagine two rectangles overlapping and how much they share.
You got /4 concepts.