Algorithmcore
Non-maximum suppression for detections
Also called greedy NMS, box NMS.
Sort detections by score, keep the best, drop every remaining box whose IoU with it exceeds a threshold, and repeat on what is left.
- Solves
- Object detection
- Time
- Θ(n^2) worstO(n log n + k n) averageΘ(n log n) best
- Space
- Θ(n) extra
- Where
- k = the number of kept boxes; n = the number of input boxes
- Model
- Real RAM
- Properties
- deterministicexactofflineiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- Navneet Dalal, Bill Triggs, Pedro F. Felzenszwalb, Ross Girshick, 2005
Greedy non-maximum suppression (NMS) turns a list of scored detection boxes, in which one object often has many overlapping boxes, into a short list with one box per object. It keeps the box with the highest score, removes every remaining box whose intersection over union with that box is above a threshold, and repeats on the boxes that are left. This page is about boxes; the non-maximum suppression of image processing works on pixels instead, and thins edge or corner responses to their local maxima along the gradient or in a window. Soft-NMS is the variant that lowers the scores of overlapping boxes instead of removing them.
In plain words
A detector looks at a photo and says "person here" many times around each person, with boxes that are shifted a little and have different confidence values. You want one box per person.
Take the box with the highest confidence and keep it. Throw away every other box that covers almost the same area as the kept box. Then take the most confident box that is still in the pile and do the same. Stop when the pile is empty.
The rule "covers almost the same area" is a number: the shared area divided by the total area of the two boxes. Most detectors throw a box away when this number is above one half. Two people who stand close together can make their boxes overlap that much, and then one of the two people is lost.
The problem
The input is a list of boxes , each in continuous image coordinates, with scores , a threshold , and an overlap function , by default . Order the indices by decreasing score, with ties broken by the smaller index; say that box suppresses box when comes before in this order and . The output is the list of kept indices, in score order, with two properties: no member of is suppressed by another member of , and every box outside is suppressed by a member of . The correctness proof shows that exactly one set has both properties. NMS runs separately for each class in a multi-class detector, so boxes of different classes do not remove each other.
The output is not the best set of boxes for any stated score; it is defined by the greedy order. A problem such as "pick a set of pairwise non-overlapping boxes with the largest total score" is a weighted maximum independent set in the overlap graph, which is NP-hard in general, and greedy NMS does not solve it.
The algorithm
GREEDY-NMS(B, s, t) ▷ n = |B|- 1
π ← the indices sorted by s, decreasing, ties by index - 2
K ← empty list, removed[1..n] ← false - 3
for each i in π, in order do - 4
if removed[i] then continue - 5
append i to K - 6
for each j after i in π do - 7
if not removed[j] and o(B_i, B_j) > t then - 8
removed[j] ← true - 9
return K
Line L7 compares with a strict "greater than". The Soft-NMS paper writes its hard rule with "greater than or equal"; the two differ only for a box exactly at the threshold, but a test with integer boxes can hit that case, so a program must say which one it uses. A box that line L8 removes never removes another box, because line L4 skips it before line L6.
Example
Take five boxes with :
| box | corners | score |
|---|---|---|
| 1 | 0.90 | |
| 2 | 0.80 | |
| 3 | 0.75 | |
| 4 | 0.60 | |
| 5 | 0.50 |
The scores are distinct, so the order is . The IoU values that matter are , , and . Box 4 does not touch any other box.
| step | line | action | kept | removed |
|---|---|---|---|---|
| 1 | L5 | keep box 1 | 1 | |
| 2 | L7, L8 | box 2: , remove | 1 | 2 |
| 3 | L7 | box 3: , box 4: , box 5: , all stay | 1 | 2 |
| 4 | L4 | box 2 is removed, skip | 1 | 2 |
| 5 | L5, L8 | keep box 3; box 5: , remove | 1, 3 | 2, 5 |
| 6 | L5 | keep box 4 | 1, 3, 4 | 2, 5 |
| 7 | L4 | box 5 is removed, skip | 1, 3, 4 | 2, 5 |
The output is . With the result is : box 1 now removes box 3 as well (), and box 5, which only box 3 suppressed before, survives with . A lower threshold does not always give a subset of the output for a higher threshold.
Correctness
The proof in the correctness file has two lemmas. First, at the time line L3 reaches box , the flag of is set exactly when a box already in that comes before suppresses it; line L8 is the only place that sets a flag, and the inner loop of each kept box visits every later box. Second, each box is decided once, in score order. Together they give the two properties of the problem statement: no kept box is suppressed by another kept box, and every removed box has a kept suppressor. An induction along the score order then shows that any set with these two properties agrees with on every box, so the output is unique and does not depend on how the loop is written. The tests compare the code with a search over all subsets of up to 8 boxes. The proof does not use the symmetry of , so it also holds for the coverage overlap of the deformable part model.
Proof: Greedy NMS returns the unique set of boxes that no higher kept box suppresses and that suppresses every other boxfull
We use the notation of the page. The input is boxes with scores , a threshold and an overlap function , by default IoU. The rank order of line L1 sorts the indices by decreasing score and breaks ties by the smaller index, so it is a total order. We write when comes before in , and we say that suppresses when and .
Claim. Let be the list that GREEDY-NMS returns in line L9. Then
- (no conflict) no member of is suppressed by another member of ;
- (cover) every index not in is suppressed by some member of ;
- (uniqueness) is the only subset of with properties 1 and 2;
- is in rank order, and its first member is the box with the highest score.
Lemma 1 (what the flags mean). When line L3 reaches an index , is true exactly when some index that is already in suppresses .
Proof. Line L8 is the only line that sets a flag, and it sets only for an index after the current kept index in the order, with ; so a set flag has such an . For the converse, let with and . When line L5 added , the loop of lines L6 to L8 visited every index after , including . Either was flagged before that visit, or the test of line L7 is true and line L8 flags it. Flags are never cleared.
Lemma 2 (the loop decides each index once). Each index is visited once by line L3, in the order , and it goes into exactly when its flag is false at that visit.
Proof. Line L3 iterates over once. Line L4 skips a flagged index and line L5 appends an unflagged one. A flag can change only for indices after the current one, so the flag of that line L4 reads is final for every decision about .
Proof of the claim. Parts 1 and 2 follow from Lemmas 1 and 2. If , its flag was false at its visit, so no earlier member of suppresses it; a later member cannot suppress it because suppression needs . If , its flag was true, so an earlier member of suppresses it.
For part 3, let be any subset with properties 1 and 2. We show by induction along that exactly when . Assume that and agree on all indices before . Then the members of that come before are the members of that come before ; call this set . Only members of can suppress . If some member of suppresses , then by property 1 of and by property 1 of . If no member of suppresses , then by property 2 of and by property 2 of . So and agree on , and by induction .
For part 4, line L5 appends in the order of line L3, which is . The first index of has a false flag at its visit, because no index comes before it.
Remark (the threshold). Part 3 describes the output without the loop, which is what the tests compare with a search over all subsets. It also shows why the output is not monotone in . With a lower , an index of high rank can be suppressed, and then a later index that it suppressed before may have no suppressor left and join the output. The example on the page shows this: at box 5 is removed by box 3, and at box 3 is removed by box 1, so box 5 stays.
Remark (symmetry). The proof never uses , so it holds for the coverage overlap of the deformable part model code as well. Property 1 then refers to the direction of the rank order.
Cost. Line L1 sorts in comparisons. For each kept index, lines L6 to L8 visit the indices after it, at most , and each visit costs one overlap, for two boxes. With kept boxes the loop costs , so in the worst case. If the boxes are pairwise disjoint, every box is kept and line L7 evaluates all pairs, so the bound is tight.
Complexity
The sort of line L1 costs comparisons. Each kept box runs the loop of lines L6 to L8 over the boxes after it, at most of them, and one IoU costs in the real RAM. With kept boxes the time is . The worst case is : for pairwise disjoint boxes every box is kept, and line L7 evaluates all pairs. The best case is one box that suppresses all others, with overlap tests after the sort. Extra space is for the order and the flags.
In practice is the number of boxes above a score threshold, often a few thousand before NMS in a modern detector, and implementations cap it with a pre-NMS top-. The cost of the network that makes the boxes is outside this page.
Properties
- Deterministic and exact. With the tie rule fixed, the output is a function of the input, and the code computes it exactly; on integer boxes the IoU is a rational number and the test is exact.
- The best box always survives. The first box in the order has no possible suppressor.
- Kept boxes are pairwise below the threshold for a symmetric overlap such as IoU, by the first property of the output.
- Not monotone in the threshold. The example shows a box that survives at and is removed at .
- Not monotone in the scores of other boxes. Raising the score of a removed box can make it a suppressor and change which other boxes survive.
- A hard decision. A removed box is gone with its score, so a second object behind the first one cannot be recovered by any later step. This costs recall in crowds and is the motivation for Soft-NMS.
- Order of output. is in decreasing score order, which is the input that detection mean average precision needs.
Variants and improvements
- Class-aware NMS. Run the loop once for each class. Many libraries do this in one call by shifting the boxes of each class by a large offset, so that boxes of different classes never overlap.
- Coverage overlap. The deformable part model code skips a box when a kept box covers at least 50 percent of it, . This removes small boxes inside a large kept box, which IoU does not.
- Soft-NMS. Soft-NMS multiplies the scores of the other boxes by a decay that depends on the IoU, and keeps all boxes with a new order. Its hard rule, a decay to 0 above the threshold, gives back greedy NMS.
- Fast NMS. Bolya et al. (2019) let removed boxes suppress others too: a box goes when any box with a higher score overlaps it above . This needs only the upper triangle of the IoU matrix and a column maximum, so it runs as matrix operations on a GPU, and it removes a superset of the boxes that greedy NMS removes.
- Merging instead of removing. Viola and Jones average each group of overlapping detections into one box (see the Viola-Jones detector). Dalal's thesis finds modes with mean shift in position and scale. Weighted box fusion and similar methods average the coordinates of the removed boxes into the kept one.
- Learned or removed NMS. Hosang, Benenson and Schiele (2017) train a network to do the suppression. DETR predicts a set of boxes with a one-to-one matching loss and needs no NMS at all.
When to use it
Use greedy NMS after any detector that produces many overlapping boxes per object: a sliding-window detector such as the Dalal-Triggs detector, or a network with dense anchors such as Faster R-CNN or YOLO. It is simple, has one parameter, and its cost is small next to the detector. Prefer Soft-NMS when objects of the same class overlap a lot, as with people in a crowd, and a class-aware run whenever boxes of different classes can overlap. When the detector is trained with a one-to-one matching, as in DETR, do not add NMS.
Pitfalls
- The threshold is a tuned value. 0.5 is a convention, and R-CNN describes its value as learned on validation data. A lower value merges nearby objects; a higher value leaves duplicates. Report the value with any benchmark number.
- Mixed box forms. A box in the inclusive pixel form of the VOC devkit, with side , gives a different IoU from the same four numbers as a continuous box. Small boxes change the most.
- Strict or non-strict test. "Greater than" and "greater than or equal" differ on boxes exactly at the threshold, which is common on integer test data.
- Ties. Equal scores need a fixed tie rule, or the output depends on the sort routine. An unstable sort can give different results between runs of the same program.
- Classes. A class-agnostic run lets a "dog" box remove a "person" box. That may be intended, but say so.
- Using a removed box as a suppressor. A loop that removes boxes after the scan, or that compares each box with all earlier boxes instead of the kept ones, computes Fast NMS, not greedy NMS. The example of the tests shows a case where the two differ.
- Edge NMS for boxes. The image-processing non-maximum suppression keeps a pixel when it is the largest along its gradient direction. It has no boxes and no scores to sort, and it is a different algorithm with the same name.
Implementations
The Python code takes boxes as tuples, scores and a threshold, and returns the kept indices in score order, with the tie rule of the page and an optional overlap function. It includes class-aware NMS, the coverage overlap of the deformable part model, Fast NMS for comparison, and a check of the two properties. The tests compare the output with a search over all subsets on random instances with many tied scores, check the example of this page with exact fractions, and count the overlap tests of the worst case.
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/box-non-maximum-suppression/. The authors are listed in prov/5JRR0P.jsonl.
"""Greedy non-maximum suppression (NMS) of scored detection boxes.
A box is (x1, y1, x2, y2) in continuous image coordinates. Boxes are ranked by
score, highest first, with ties broken by the smaller index. The best box is
kept, every later box whose overlap with it is above the threshold is removed,
and the loop goes on with the next box that is still there. The overlap is IoU
by default; any function overlap(kept_box, other_box) can be given instead.
Standard library only. Cost: O(n log n) for the sort plus one overlap per
pair (kept box, later box), so O(n k) for k kept boxes and O(n^2) in the
worst case.
"""
from fractions import Fraction
from itertools import combinations
def iou(a, b):
"""IoU of two boxes; exact (a Fraction) on integer boxes."""
iw = min(a[2], b[2]) - max(a[0], b[0])
ih = min(a[3], b[3]) - max(a[1], b[1])
inter = iw * ih if iw > 0 and ih > 0 else 0
union = (a[2] - a[0]) * (a[3] - a[1]) + (b[2] - b[0]) * (b[3] - b[1]) - inter
if union == 0:
return 0
if isinstance(inter, int) and isinstance(union, int):
return Fraction(inter, union)
return inter / union
def coverage(kept, other):
"""The part of `other` that `kept` covers, |kept & other| / |other|.
This is the overlap of the deformable part model code, not IoU.
"""
iw = min(kept[2], other[2]) - max(kept[0], other[0])
ih = min(kept[3], other[3]) - max(kept[1], other[1])
inter = iw * ih if iw > 0 and ih > 0 else 0
area = (other[2] - other[0]) * (other[3] - other[1])
if isinstance(inter, int) and isinstance(area, int):
return Fraction(inter, area)
return inter / area
def rank_order(scores):
"""Indices sorted by score, highest first; ties go to the smaller index."""
return sorted(range(len(scores)), key=lambda i: (-scores[i], i))
def greedy_nms(boxes, scores, threshold=0.5, overlap=iou, max_keep=None):
"""Return the indices of the kept boxes, in decreasing score order."""
n = len(boxes)
order = rank_order(scores) # @line L1
keep, removed = [], [False] * n # @line L2
for pos, i in enumerate(order): # @line L3
if removed[i]: # @line L4
continue
keep.append(i) # @line L5
if max_keep is not None and len(keep) == max_keep:
break
for j in order[pos + 1:]: # @line L6
if not removed[j] and overlap(boxes[i], boxes[j]) > threshold: # @line L7
removed[j] = True # @line L8
return keep # @line L9
def batched_nms(boxes, scores, labels, threshold=0.5, overlap=iou):
"""Class-aware NMS: run greedy NMS inside each label separately.
The result is the union of the kept sets, in decreasing score order.
"""
groups = {}
for i, lab in enumerate(labels):
groups.setdefault(lab, []).append(i)
keep = []
for idx in groups.values():
sub = greedy_nms([boxes[i] for i in idx], [scores[i] for i in idx], threshold, overlap)
keep.extend(idx[k] for k in sub)
pos = {i: r for r, i in enumerate(rank_order(scores))}
return sorted(keep, key=lambda i: pos[i])
def fast_nms(boxes, scores, threshold=0.5, overlap=iou):
"""Fast NMS (Bolya et al. 2019): remove a box if ANY higher-ranked box,
kept or not, overlaps it above the threshold. It removes at least the
boxes that greedy NMS removes, and sometimes more.
"""
order = rank_order(scores)
keep = []
for r, j in enumerate(order):
if all(overlap(boxes[i], boxes[j]) <= threshold for i in order[:r]):
keep.append(j)
return keep
def is_greedy_nms_output(boxes, scores, keep, threshold=0.5, overlap=iou):
"""Check the two conditions that characterize the greedy NMS output:
(i) no kept box is removed by a higher-ranked kept box, and
(ii) every other box is removed by some higher-ranked kept box.
"""
order = rank_order(scores)
rank = {i: r for r, i in enumerate(order)}
ks = set(keep)
for j in range(len(boxes)):
hit = any(rank[i] < rank[j] and overlap(boxes[i], boxes[j]) > threshold for i in ks)
if (j in ks) == hit:
return False
return True
def brute_force_nms(boxes, scores, threshold=0.5, overlap=iou):
"""Try every subset and return the one subset that meets both conditions,
in decreasing score order. Exponential; for tests on tiny inputs only.
"""
n = len(boxes)
found = []
for size in range(n + 1):
for sub in combinations(range(n), size):
if is_greedy_nms_output(boxes, scores, sub, threshold, overlap):
found.append(sub)
if len(found) != 1:
raise AssertionError("the characterization must give exactly one subset")
pos = {i: r for r, i in enumerate(rank_order(scores))}
return sorted(found[0], key=lambda i: pos[i])
test_box_non_maximum_suppression.py 131 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/box-non-maximum-suppression/. The authors are listed in prov/5JRR0P.jsonl.
import random
from fractions import Fraction
from box_non_maximum_suppression import (batched_nms, brute_force_nms, coverage,
fast_nms, greedy_nms, iou,
is_greedy_nms_output)
EXAMPLE_BOXES = [(0, 0, 10, 10), (1, 1, 11, 11), (6, 0, 16, 10), (20, 20, 30, 30), (7, 1, 17, 11)]
EXAMPLE_SCORES = [0.9, 0.8, 0.75, 0.6, 0.5]
def random_instance(rng, n, size=20):
boxes = []
for _ in range(n):
x, y = rng.randint(0, size), rng.randint(0, size)
w, h = rng.randint(2, 8), rng.randint(2, 8)
boxes.append((x, y, x + w, y + h))
scores = [rng.randint(0, 5) for _ in range(n)] # many ties on purpose
return boxes, scores
def test_iou_check_values():
assert iou((0, 0, 2, 2), (1, 1, 3, 3)) == Fraction(1, 7)
assert iou((0, 0, 10, 10), (5, 0, 15, 10)) == Fraction(1, 3)
def test_page_example():
b, s = EXAMPLE_BOXES, EXAMPLE_SCORES
assert iou(b[0], b[1]) == Fraction(81, 119)
assert iou(b[0], b[2]) == Fraction(1, 4)
assert iou(b[2], b[4]) == Fraction(81, 119)
assert iou(b[0], b[4]) == Fraction(27, 173)
assert greedy_nms(b, s, 0.5) == [0, 2, 3]
# A lower threshold removes box 2, and then box 4 survives: the kept set
# does not shrink monotonically as the threshold goes down.
assert greedy_nms(b, s, 0.2) == [0, 3, 4]
# Threshold 1: nothing is removed; the output is the rank order.
assert greedy_nms(b, s, 1) == [0, 1, 2, 3, 4]
def test_removed_boxes_do_not_suppress():
# Box 1 is removed by box 0; box 2 overlaps box 1 a lot but not box 0.
boxes = [(0, 0, 10, 10), (5, 0, 15, 10), (9, 0, 19, 10)]
scores = [3, 2, 1]
assert iou(boxes[0], boxes[1]) == Fraction(1, 3)
assert iou(boxes[1], boxes[2]) == Fraction(3, 7)
assert iou(boxes[0], boxes[2]) == Fraction(1, 19)
assert greedy_nms(boxes, scores, Fraction(3, 10)) == [0, 2]
# Fast NMS lets the removed box 1 remove box 2.
assert fast_nms(boxes, scores, Fraction(3, 10)) == [0]
def test_matches_brute_force():
rng = random.Random(7)
for trial in range(150):
n = rng.randint(0, 8)
boxes, scores = random_instance(rng, n)
t = rng.choice([Fraction(1, 10), Fraction(3, 10), Fraction(1, 2), Fraction(7, 10)])
keep = greedy_nms(boxes, scores, t)
assert keep == brute_force_nms(boxes, scores, t)
def test_characterization_on_larger_inputs():
rng = random.Random(8)
for trial in range(40):
boxes, scores = random_instance(rng, 40, size=30)
keep = greedy_nms(boxes, scores, Fraction(1, 2))
assert is_greedy_nms_output(boxes, scores, keep, Fraction(1, 2))
# Kept boxes are pairwise below or at the threshold.
for a in range(len(keep)):
for b in range(a + 1, len(keep)):
assert iou(boxes[keep[a]], boxes[keep[b]]) <= Fraction(1, 2)
def test_fast_nms_removes_a_superset():
rng = random.Random(9)
for trial in range(60):
boxes, scores = random_instance(rng, 15)
g = set(greedy_nms(boxes, scores, Fraction(1, 2)))
f = set(fast_nms(boxes, scores, Fraction(1, 2)))
assert f <= g
def test_monotone_in_threshold_for_the_first_box_only():
# The best box is always kept, whatever the threshold.
rng = random.Random(10)
for trial in range(50):
boxes, scores = random_instance(rng, 10)
best = min(range(10), key=lambda i: (-scores[i], i))
for t in (0, Fraction(1, 4), Fraction(1, 2), 1):
assert greedy_nms(boxes, scores, t)[0] == best
def test_batched_nms_per_class():
boxes = [(0, 0, 10, 10), (1, 1, 11, 11), (0, 0, 10, 10)]
scores = [0.9, 0.8, 0.7]
labels = ["person", "person", "dog"]
assert batched_nms(boxes, scores, labels, 0.5) == [0, 2]
assert greedy_nms(boxes, scores, 0.5) == [0]
def test_coverage_overlap():
big, small = (0, 0, 10, 10), (2, 2, 6, 6)
assert coverage(big, small) == 1
assert coverage(small, big) == Fraction(16, 100)
# With coverage, a high-scoring big box removes a small box inside it.
assert greedy_nms([big, small], [2, 1], Fraction(1, 2), overlap=coverage) == [0]
assert greedy_nms([big, small], [2, 1], Fraction(1, 2)) == [0, 1]
def test_max_keep_and_floats():
boxes = [(0.0, 0.0, 1.0, 1.0), (2.0, 2.0, 3.0, 3.0), (0.1, 0.0, 1.1, 1.0)]
assert greedy_nms(boxes, [0.3, 0.2, 0.25], 0.5) == [0, 1]
assert greedy_nms(boxes, [0.3, 0.2, 0.25], 0.5, max_keep=1) == [0]
def test_worst_case_counts_all_pairs():
calls = [0]
def counting_iou(a, b):
calls[0] += 1
return iou(a, b)
n = 30
boxes = [(3 * i, 0, 3 * i + 2, 2) for i in range(n)] # pairwise disjoint
keep = greedy_nms(boxes, list(range(n, 0, -1)), 0.5, overlap=counting_iou)
assert keep == list(range(n))
assert calls[0] == n * (n - 1) // 2
History
Face and people detectors of the 1990s and early 2000s all had to merge the many windows that fire around one object, and each paper used its own rule: grouping of overlapping windows, averaging, or mode finding. Dalal and Triggs (2005) describe the end of their detection chain as conventional non-maximum suppression over the pyramid, and Dalal's thesis replaces it with mean-shift fusion. Felzenszwalb, Girshick, McAllester and Ramanan (2010) state the greedy rule exactly, with the coverage overlap, in the paper on the deformable part model. Girshick et al. (2014) use the IoU form for each class in R-CNN, and the code of the R-CNN family made it the default. Bodla et al. (2017) replaced the hard decision with a score decay, and Bolya et al. (2019) made a parallel variant. The name comes from the edge thinning step of edge detectors, which keeps only local maxima of the gradient magnitude.
References
- Pedro F. Felzenszwalb, Ross B. Girshick, David McAllester and Deva Ramanan, Object detection with discriminatively trained part-based models, IEEE Transactions on Pattern Analysis and Machine Intelligence 32(9), 2010, 1627-1645, Section 7.2, Non-maximum suppression (greedy, skipping a box that is at least 50 percent covered by a box already selected)
- Ross Girshick, Jeff Donahue, Trevor Darrell and Jitendra Malik, Rich feature hierarchies for accurate object detection and semantic segmentation, CVPR 2014, 580-587, Section 2.2, Test-time detection (greedy NMS for each class independently, with an IoU threshold)
- Navaneeth Bodla, Bharat Singh, Rama Chellappa and Larry S. Davis, Soft-NMS: improving object detection with one line of code, ICCV 2017, 5562-5570, Figure 2, Algorithm 1 (the greedy NMS loop and its O(N^2) cost), and Section 2, Related work
- Navneet Dalal and Bill Triggs, Histograms of oriented gradients for human detection, CVPR 2005, vol. 1, 886-893, Figure 1 (the detection chain ends with conventional non-maximum suppression over the pyramid)
- Daniel Bolya, Chong Zhou, Fanyi Xiao and Yong Jae Lee, YOLACT: real-time instance segmentation, ICCV 2019, Section 5, Fast NMS (removed boxes may suppress others, computed with matrix operations)
- Richard Szeliski, Computer Vision, Algorithms and Applications, second edition, Springer, 2022, Section 6.3, Object detection
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 5JRR0P Edit this page History Report an error Markdown