Unit 4: Object Detection and Localization - Practice Quiz

CSE471 — Deep Learning For Computer Vision 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the main goal of object detection in an image?

Object detection principles Easy
A. Locate and classify objects
B. Remove noise from the image
C. Increase the image resolution
D. Classify the entire image

2 How does object detection differ from image classification?

Object detection principles Easy
A. It only changes image colors
B. It converts images into grayscale before assigning a single category
C. It predicts labels and locations
D. It only assigns one image label

3 Which output is typically produced by an object detection algorithm?

Object detection algorithms Easy
A. A class label and bounding box
B. A compressed image file
C. A complete textual description containing every visible detail in the image
D. A grayscale intensity value

4 Which set of values can represent a rectangular bounding box?

Bounding box representation Easy
A. Center, width, and color
B. Center coordinates, width, and height
C. Width, depth, and brightness
D. Class, height, and angle

5 In the corner-based representation , what does usually indicate?

Bounding box representation Easy
A. The bottom-right corner
B. The top-left corner
C. The average coordinate of all pixels inside the box
D. The box center

6 What does Intersection over Union (IoU) measure?

Intersection over union Easy
A. The training time of a detector
B. The overlap between two boxes
C. The number of object classes
D. The brightness of an image

7 Which formula defines Intersection over Union for two bounding boxes?

Intersection over union Easy
A.
B.
C.
D.

8 What is the IoU of two identical bounding boxes?

Intersection over union Easy
A.
B.
C.
D.

9 Why is non-maximum suppression used in object detection?

Non-maximum suppression Easy
A. To enlarge small objects
B. To remove duplicate detections
C. To create additional object classes
D. To replace every predicted box with a detailed pixel-level segmentation mask

10 Which bounding box is usually kept first during non-maximum suppression?

Non-maximum suppression Easy
A. The box with the highest confidence
B. The box nearest the image corner
C. The box with the largest width
D. The box with the smallest area

11 What does a sliding-window detector do?

Classical detection pipelines Easy
A. Labels only the full image
B. Examines many image regions
C. Rotates the image once
D. Generates a detailed natural-language caption for each pixel in the image

12 Why are image pyramids used in classical object detection?

Classical detection pipelines Easy
A. To convert objects into triangles
B. To detect objects at different scales
C. To reduce the number of classes
D. To assign one identical bounding box to every object in an image

13 What is used by the original R-CNN to identify candidate object regions?

RCNN Easy
A. Audio samples
B. Image captions
C. Region proposals
D. Randomly generated labels

14 What does the abbreviation R-CNN stand for?

RCNN Easy
A. Regional Classification Neural Network
B. Region-based Convolutional Neural Network
C. Recursive Convolutional Number Network
D. Region-based Color Normalization Network

15 What characterizes a single-stage object detector?

Single-stage detectors Easy
A. It predicts detections directly
B. It creates region proposals in one network and classifies them using a separate multi-step pipeline
C. It requires manual box drawing
D. It processes only grayscale images

16 What does YOLO stand for in object detection?

YOLO variants Easy
A. You Only Label Objects
B. You Only Look Once
C. Your Object Localization Output
D. Yielding Optimized Layer Operations

17 Which property is commonly associated with YOLO variants?

YOLO variants Easy
A. Separate processing of every proposed region through several independent classifiers
B. Audio signal generation
C. Manual feature labeling
D. Fast object detection

18 What does SSD stand for in computer vision?

SSD Easy
A. Standard Scale Detection
B. Spatial Search Decoder
C. Sequential Sampling Device
D. Single Shot Detector

19 What problem is focal loss designed to reduce in RetinaNet?

RetinaNet with focal loss Easy
A. The need to store every training image at several different resolutions
B. Box visualization
C. Class imbalance
D. Image rotation

20 What does mean average precision (mAP) summarize in object detection?

Mean average precision Easy
A. Maximum number of boxes
B. Total training duration
C. Detection performance across classes
D. Average image brightness

21 An image contains three cars and two pedestrians. What must an object detector produce that an image classifier typically does not?

Object detection principles Medium
A. A pixel-level class label for every image pixel
B. A feature vector representing the complete image
C. A class label and location for each object instance
D. A single class label for the complete image

22 A bounding box is represented as . What are its width and height?

Bounding box representation Medium
A. Width , height
B. Width , height
C. Width , height
D. Width , height

23 Two predicted boxes have an intersection area of pixels. Their individual areas are and pixels. What is their IoU?

Intersection over union Medium
A.
B.
C.
D.

24 A predicted box is completely inside a ground-truth box. Their areas are and pixels, respectively. What is their IoU?

Intersection over union Medium
A.
B.
C.
D.

25 For one class, three boxes have confidence scores , , and . The IoU of the first box with the other two is and , respectively. With an NMS threshold of , which boxes are retained?

Non-maximum suppression Medium
A. The boxes scored and
B. The boxes scored and
C. Only the box scored
D. All three candidate boxes

26 What is the most likely effect of increasing the NMS IoU threshold from to while keeping all confidence scores unchanged?

Non-maximum suppression Medium
A. Bounding boxes will become geometrically smaller
B. More highly overlapping boxes will be retained
C. Fewer object classes will be evaluated
D. More low-confidence boxes will be removed

27 In a sliding-window detector, reducing the stride from pixels to pixels generally has which effect?

Classical detection pipelines Medium
A. It evaluates more windows and increases computation
B. It removes the need for an image pyramid
C. It evaluates fewer windows and decreases computation
D. It converts the detector into a segmentation model

28 Why is an image pyramid commonly used with a fixed-size sliding-window classifier?

Classical detection pipelines Medium
A. To detect objects appearing at different scales
B. To eliminate overlapping candidate windows
C. To compute exact object segmentation masks
D. To assign multiple labels to one window

29 Which operation is a major source of slow inference in the original R-CNN architecture?

RCNN Medium
A. Sharing one classifier across all image locations
B. Predicting boxes directly from a dense feature map
C. Running the CNN separately on each region proposal
D. Computing all convolutional features only once

30 How does Fast R-CNN reduce repeated computation compared with the original R-CNN?

RCNN Medium
A. It replaces region proposals with an image pyramid
B. It performs classification without bounding-box regression
C. It computes a shared feature map before processing regions
D. It applies a separate backbone to every proposed region

31 What is the main contribution of Faster R-CNN over Fast R-CNN?

Object detection algorithms Medium
A. It replaces convolutional features with handcrafted descriptors
B. It removes bounding-box regression from the detection head
C. It learns region proposals using a Region Proposal Network
D. It classifies only one object in each input image

32 Why are single-stage detectors often faster than two-stage detectors?

Single-stage detectors Medium
A. They use ground-truth boxes as proposals during inference
B. They evaluate every region using an independent backbone
C. They predict classes and boxes without a separate proposal stage
D. They avoid convolutional feature extraction during inference

33 A YOLO-style detector divides an image into a grid. In the standard assignment principle, which grid cell is responsible for predicting an object?

YOLO variants Medium
A. The cell having the largest image area
B. The cell containing the object's top-left corner
C. The cell having the lowest class confidence
D. The cell containing the object's center

34 A detector performs well on large objects but frequently misses small objects. Which feature found in newer YOLO variants most directly addresses this issue?

YOLO variants Medium
A. Predictions from multiple feature-map scales
B. Use of one bounding box for the full image
C. Classification from only the deepest feature map
D. Removal of all high-resolution backbone features

35 Why does SSD make predictions from several feature maps with different spatial resolutions?

SSD Medium
A. To guarantee one prediction for each object
B. To convert detection into image classification
C. To avoid using default boxes during training
D. To detect objects across a range of sizes

36 During SSD training, how is a ground-truth box typically matched to default boxes?

SSD Medium
A. By selecting boxes with identical pixel coordinates only
B. By selecting default boxes with sufficient IoU overlap
C. By selecting boxes with the lowest class confidence
D. By selecting boxes from the deepest feature map only

37 In a dense detector, most anchors are easy background examples. How does focal loss mainly address this imbalance?

RetinaNet with focal loss Medium
A. It removes every background anchor before training
B. It assigns equal loss to all positive and negative anchors
C. It increases the loss from easy negative examples
D. It down-weights easy, confidently classified examples

38 For focal loss with focusing parameter , what happens to the modulating factor for a correctly classified example as its predicted probability approaches ?

RetinaNet with focal loss Medium
A. It approaches , preserving the example's full contribution
B. It approaches , reducing the example's contribution
C. It grows without bound, dominating the total loss
D. It becomes negative, reversing the loss gradient

39 A detector produces one correct high-confidence prediction for every ground-truth object, followed only by several low-confidence false positives. Why can its average precision still be high?

Mean average precision Medium
A. Average precision measures localization error only
B. Low-confidence predictions automatically become true negatives
C. False positives are ignored at every confidence threshold
D. Correct detections appear early in the confidence ranking

40 The same detector is evaluated first at IoU threshold and then at . What outcome is most likely when the threshold is increased?

IoU thresholds Medium
A. Some loosely localized detections become false positives
B. More detections qualify as correct localizations
C. Non-maximum suppression becomes unnecessary
D. Class confidence scores automatically increase

41 An image contains one non-ignored ground-truth object. A detector outputs three correctly classified boxes with IoUs , , and in descending confidence order. At an IoU threshold of , how are these detections labeled during standard one-to-one evaluation?

Object detection principles Hard
A. All three are true positives because each predicts the correct class.
B. The first is a true positive, the second is ignored, and the third is a false positive.
C. The first two are true positives, and the third is a false positive.
D. The first is a true positive, and the other two are false positives.

42 An anchor has center , width , and height . A detector uses , , , and . For predicted offsets , what decoded corner box is obtained?

Bounding box representation Hard
A.
B.
C.
D.

43 Using continuous-coordinate box areas, let and , where each tuple is . What is ?

Intersection over union Hard
A.
B.
C.
D.

44 Three same-class detections have scores , , and . Their pairwise IoUs are , , and . With greedy NMS suppressing IoU values greater than , which boxes remain?

Non-maximum suppression Hard
A. and
B. only
C. and
D. and

45 A HOG-SVM pedestrian detector was trained only on fixed-size positive windows. At test time, pedestrians may appear at many scales. Which pipeline most directly preserves the classifier's expected window representation while enabling multiscale detection?

Classical detection pipelines Hard
A. Scan a fixed window over an image pyramid, map detections back, then apply NMS.
B. Scan variable-sized windows on one image scale without resizing their descriptors.
C. Resize every candidate window independently to the full image dimensions, classify all pixels jointly, and average overlapping scores before thresholding.
D. Use one global HOG descriptor and infer every pedestrian box from its SVM margin.

46 Which change specifically distinguishes Faster R-CNN from Fast R-CNN while retaining a two-stage detection structure?

RCNN Hard
A. It removes region proposals and predicts all boxes directly from a dense output grid.
B. It replaces external region proposals with a learned region proposal network sharing convolutional features.
C. It runs the convolutional backbone separately for every proposed region.
D. It replaces ROI feature extraction with class-agnostic NMS during training.

47 Why can a dense single-stage detector perform poorly when trained with ordinary cross-entropy over all anchors, even if most background anchors are individually easy?

Single-stage detectors Hard
A. Cross-entropy produces zero gradients for all correctly classified background anchors.
B. Dense prediction prevents the backbone from sharing features across spatial positions.
C. Background anchors are always assigned larger regression targets than positive anchors.
D. The aggregate gradient from numerous easy negatives can dominate the sparse positive signal.

48 In a YOLO-style detector that assigns each ground-truth object to the grid cell containing its center, an object's center lies just inside one cell while most of its area extends into neighboring cells. Which statement is correct?

YOLO variants Hard
A. The center-containing cell can regress a box extending well beyond its own boundaries.
B. Every intersected cell must independently predict the complete object as a positive.
C. The box must be clipped to the responsible cell before computing localization loss.
D. The object is discarded because its box is not fully contained in one grid cell.

49 In standard SSD matching, a ground-truth box has IoUs , , and with its three best default boxes, while the normal positive threshold is . What prevents this ground truth from necessarily having zero positive matches?

SSD Hard
A. Its highest-IoU default box is force-matched to it before threshold-based matching.
B. The ground truth is converted into a default box and appended to the prediction tensor.
C. The positive threshold is automatically reduced to the mean of the three IoUs.
D. All default boxes with IoU above become positives for that ground truth.

50 For positive examples, focal loss is . With and the same , approximately what is ?

RetinaNet with focal loss Hard
A.
B.
C.
D.

51 A class has two ground-truth objects. In descending confidence order, three detections are labeled TP, FP, TP. Using all-point interpolated precision and the area under the precision-recall curve, what is the AP?

Mean average precision Hard
A.
B.
C.
D.

52 Two detectors have equal , but detector has substantially higher COCO-style AP averaged over IoU thresholds from to . What is the strongest justified conclusion?

IoU thresholds Hard
A. Detector necessarily detects more object classes than the other detector.
B. Detector generally localizes objects more precisely at stricter overlap requirements.
C. Detector produces fewer raw candidate boxes before confidence filtering and NMS at every tested image resolution.
D. Detector must have higher recall when detections are evaluated only at IoU .

53 A proposal generator has recall at IoU with the ground truth. Its downstream classifier and box head are otherwise perfect but may only process those proposals. What is the maximum achievable detection recall at IoU ?

Object detection algorithms Hard
A.
B.
C.
D.

54 Why are width and height commonly encoded as and relative to an anchor rather than as unrestricted additive pixel offsets?

Bounding box representation Hard
A. The encoding models multiplicative scale changes and guarantees positive decoded sizes.
B. The encoding eliminates the need to normalize center-coordinate regression targets.
C. The encoding makes the IoU exactly linear in the predicted width and height values.
D. The encoding guarantees that every decoded box remains inside the image boundary.

55 Two adjacent objects of the same class genuinely overlap with IoU , and the detector predicts one accurate high-score box for each. Hard class-wise NMS uses threshold . What failure is most likely?

Non-maximum suppression Hard
A. Neither detection is affected because they correspond to different instances.
B. Both detections are merged into a new averaged box, reducing precision.
C. Both detections are relabeled as background before classification.
D. One correct detection is suppressed, reducing recall.

56 For a binary example with label , suppose its predicted probability approaches . Compared with ordinary cross-entropy, what does focal loss with do asymptotically?

RetinaNet with focal loss Hard
A. It converts the classification loss into a bounding-box IoU loss near convergence.
B. It keeps the example's gradient constant so rare classes cannot be forgotten.
C. It increases the loss because diverges as approaches .
D. It suppresses the easy example's contribution by an additional factor .

57 For one class, a detector produces the same set of boxes and confidence values before and after a calibration change, but the change reverses the score order of one true positive and one false positive. Why can AP change even when the final counts of true positives and false positives do not?

Mean average precision Hard
A. AP changes the number of ground-truth objects according to the score ordering.
B. AP recomputes box coordinates from confidence scores before calculating IoU.
C. AP treats every lower-confidence detection as ignored after the first false positive.
D. AP depends on the ranked precision-recall trajectory, not only on final counts.

58 A predicted square has the correct center and side length , while the ground-truth square has side length . Both are axis-aligned. What is their IoU, and at which listed evaluation thresholds is the prediction a true positive?

IoU thresholds Hard
A. IoU ; it is a true positive at thresholds and .
B. IoU ; it is a true positive at thresholds and .
C. IoU ; it is a true positive at all thresholds up to .
D. IoU ; it is a true positive only at threshold .

59 A YOLO head predicts an objectness value intended to represent the probability that an object is present and a conditional class distribution. Under this factorization, which score is appropriate for ranking detections of class before NMS?

YOLO variants Hard
A.
B.
C.
D.

60 An SSD model uses default boxes with many aspect ratios but only coarse, low-resolution feature maps. Which objects are most likely to remain difficult despite the aspect-ratio diversity?

SSD Hard
A. Very small objects whose centers and features are poorly resolved spatially.
B. Objects from frequent classes whose hard-negative examples are selected during loss computation.
C. Medium objects that overlap several adjacent default boxes above the matching threshold.
D. Large objects whose aspect ratios exactly match multiple default boxes.