Object detection and segmentation
Distinguish localization, instance masks and evaluation thresholds.
Choose detection or segmentation according to the required output granularity.
Interview questions
Choose a question to reveal its answer.
01EasyCoreHow does image classification differ from localization?
Answer
How does image classification differ from localization?
Assigns labels to an entire image.
Determine whether a photo contains a cat without locating it.
a = (0,0,4,4)
b = (2,2,6,6)
inter = max(0,min(a[2],b[2])-max(a[0],b[0])) * max(0,min(a[3],b[3])-max(a[1],b[1]))
print(inter/(16+16-inter))Intersection over union for two fixed, valid rectangles.
02EasyCoreWhat outputs does an object detector predict?
Answer
What outputs does an object detector predict?
Predicts object categories and their spatial locations, commonly boxes.
Locate each car in a street image.
03EasyCoreHow can a bounding box be represented?
Answer
How can a bounding box be represented?
Rectangle parameterization representing a region containing an object.
Store an object's position and extent using coordinates.
04MediumHigh priorityWhat does semantic segmentation predict?
Answer
What does semantic segmentation predict?
Assigns a class label to each pixel without separating individual instances.
Label road, sky and pedestrian pixels.
05MediumHigh priorityHow does instance segmentation differ from semantic segmentation?
Answer
How does instance segmentation differ from semantic segmentation?
Distinguishes separate object instances using masks.
Produce a distinct pixel mask for each person.
06MediumWhy use non-maximum suppression?
Answer
Why use non-maximum suppression?
Suppresses redundant overlapping detections according to scores and an overlap threshold.
Remove duplicate boxes around the same object.
07MediumHow does an IoU threshold affect detection evaluation?
Answer
How does an IoU threshold affect detection evaluation?
Overlap cutoff used to determine matches under a detection evaluation protocol.
Count a predicted box as matching only if overlap meets a specified cutoff.
08MediumHow do you interpret average precision for detection?
Answer
How do you interpret average precision for detection?
Summarizes precision-recall behavior under a specified matching and interpolation convention.
Evaluate ranked detections for one object category.
09HardWhat does mAP aggregate?
Answer
What does mAP aggregate?
Averages AP over classes and potentially IoU thresholds according to protocol.
Report a detector benchmark across categories.
10HardWhat is an anchor box in object detection?
Answer
What is an anchor box in object detection?
Predefined candidate box shape or reference used in some detection architectures.
Predict offsets relative to a set of reference boxes.
Priority and difficulty are editorial study recommendations.
Technical reference: Documentation / paper ↗
Try a few practice questions
Explore the questions before creating a free account.