Avatar for the Smirkey user
Smirkey
powerboxes
BlogDocsChangelog

feat: mask to boxes

#20Merged
Comparing
feat/mask_to_boxes
(
3b04088
) with
main
(
03270eb
)
CodSpeed Performance Gauge
-2%
Improvements
0
Regressions
0
Untouched
112
New
1
Dropped
0
Ignored
0

Benchmarks

New

test_masks_to_boxes
bindings/tests/test_speed.py::test_masks_to_boxes
CodSpeed Performance Gauge
N/A
N/A
51.3 ms

Passed

test_parallel_iou_distance[uint64]
bindings/tests/test_speed.py::test_parallel_iou_distance[uint64]
CodSpeed Performance Gauge
+9%
399.8 µs
367.4 µs
test_parallel_iou_distance[int32]
bindings/tests/test_speed.py::test_parallel_iou_distance[int32]
CodSpeed Performance Gauge
+7%
375 µs
349 µs
test_parallel_iou_distance[float64]
bindings/tests/test_speed.py::test_parallel_iou_distance[float64]
CodSpeed Performance Gauge
+7%
265.1 µs
247.5 µs
test_parallel_iou_distance[int16]
bindings/tests/test_speed.py::test_parallel_iou_distance[int16]
CodSpeed Performance Gauge
+6%
406 µs
382.8 µs
parallel iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_iou_distance_benchmark::parallel iou distance benchmark
CodSpeed Performance Gauge
+4%
286.5 µs
275.7 µs
test_parallel_iou_distance[uint8]
bindings/tests/test_speed.py::test_parallel_iou_distance[uint8]
CodSpeed Performance Gauge
+4%
394.8 µs
380.7 µs
test_parallel_iou_distance[uint16]
bindings/tests/test_speed.py::test_parallel_iou_distance[uint16]
CodSpeed Performance Gauge
+3%
426.9 µs
412.7 µs
test_parallel_iou_distance[uint32]
bindings/tests/test_speed.py::test_parallel_iou_distance[uint32]
CodSpeed Performance Gauge
+3%
378.8 µs
369.3 µs
parallel giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::parallel_giou_distance_benchmark::parallel giou distance benchmark
CodSpeed Performance Gauge
+2%
442.5 µs
433.5 µs
giou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::giou_distance_benchmark::giou distance benchmark
CodSpeed Performance Gauge
0%
270.2 µs
270.2 µs
iou distance benchmark
powerboxesrs/benches/bench_iou.rs::benches::iou_distance_benchmark::iou distance benchmark
CodSpeed Performance Gauge
0%
213.9 µs
213.9 µs
test_giou_distance[uint64]
bindings/tests/test_speed.py::test_giou_distance[uint64]
CodSpeed Performance Gauge
0%
408.2 µs
410.2 µs
test_giou_distance[uint8]
bindings/tests/test_speed.py::test_giou_distance[uint8]
CodSpeed Performance Gauge
-1%
402.1 µs
404.1 µs
test_giou_distance[int64]
bindings/tests/test_speed.py::test_giou_distance[int64]
CodSpeed Performance Gauge
-1%
383.8 µs
385.7 µs
test_giou_distance[int16]
bindings/tests/test_speed.py::test_giou_distance[int16]
CodSpeed Performance Gauge
-1%
368.2 µs
370.2 µs
test_parallel_giou_distance[uint32]
bindings/tests/test_speed.py::test_parallel_giou_distance[uint32]
CodSpeed Performance Gauge
-1%
376.1 µs
378.2 µs
test_parallel_giou_distance[uint8]
bindings/tests/test_speed.py::test_parallel_giou_distance[uint8]
CodSpeed Performance Gauge
-1%
402.3 µs
404.6 µs
test_giou_distance[uint16]
bindings/tests/test_speed.py::test_giou_distance[uint16]
CodSpeed Performance Gauge
-1%
368.3 µs
370.3 µs
test_parallel_giou_distance[int16]
bindings/tests/test_speed.py::test_parallel_giou_distance[int16]
CodSpeed Performance Gauge
-1%
368.9 µs
371 µs
test_parallel_giou_distance[uint64]
bindings/tests/test_speed.py::test_parallel_giou_distance[uint64]
CodSpeed Performance Gauge
-1%
407.8 µs
410.2 µs
test_parallel_giou_distance[uint16]
bindings/tests/test_speed.py::test_parallel_giou_distance[uint16]
CodSpeed Performance Gauge
-1%
368.2 µs
370.4 µs
test_iou_distance[int64]
bindings/tests/test_speed.py::test_iou_distance[int64]
CodSpeed Performance Gauge
-1%
282.1 µs
283.9 µs
test_parallel_giou_distance[int64]
bindings/tests/test_speed.py::test_parallel_giou_distance[int64]
CodSpeed Performance Gauge
-1%
382.8 µs
385.2 µs
test_iou_distance[uint16]
bindings/tests/test_speed.py::test_iou_distance[uint16]
CodSpeed Performance Gauge
-1%
295.1 µs
297 µs
test_giou_distance[uint32]
bindings/tests/test_speed.py::test_giou_distance[uint32]
CodSpeed Performance Gauge
-1%
375.7 µs
378.2 µs
test_iou_distance[float32]
bindings/tests/test_speed.py::test_iou_distance[float32]
CodSpeed Performance Gauge
-1%
188 µs
189.2 µs
test_iou_distance[int16]
bindings/tests/test_speed.py::test_iou_distance[int16]
CodSpeed Performance Gauge
-1%
294.9 µs
296.9 µs
test_iou_distance[int32]
bindings/tests/test_speed.py::test_iou_distance[int32]
CodSpeed Performance Gauge
-1%
272.2 µs
274.3 µs
test_box_convert_xywh_xyxy[int32]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[int32]
CodSpeed Performance Gauge
-1%
36.7 µs
37 µs
test_iou_distance[uint8]
bindings/tests/test_speed.py::test_iou_distance[uint8]
CodSpeed Performance Gauge
-1%
289.9 µs
292.2 µs
test_iou_distance[uint64]
bindings/tests/test_speed.py::test_iou_distance[uint64]
CodSpeed Performance Gauge
-1%
293.9 µs
296.3 µs
test_iou_distance[uint32]
bindings/tests/test_speed.py::test_iou_distance[uint32]
CodSpeed Performance Gauge
-1%
272.2 µs
274.6 µs
test_parallel_giou_distance[float64]
bindings/tests/test_speed.py::test_parallel_giou_distance[float64]
CodSpeed Performance Gauge
-1%
270.2 µs
272.6 µs
test_parallel_giou_distance[float32]
bindings/tests/test_speed.py::test_parallel_giou_distance[float32]
CodSpeed Performance Gauge
-1%
267.4 µs
269.8 µs
test_giou_distance[float64]
bindings/tests/test_speed.py::test_giou_distance[float64]
CodSpeed Performance Gauge
-1%
278.5 µs
281.2 µs
test_giou_distance[float32]
bindings/tests/test_speed.py::test_giou_distance[float32]
CodSpeed Performance Gauge
-1%
266.9 µs
269.6 µs
test_parallel_giou_distance[int32]
bindings/tests/test_speed.py::test_parallel_giou_distance[int32]
CodSpeed Performance Gauge
-1%
375.8 µs
380.5 µs
test_giou_distance[int32]
bindings/tests/test_speed.py::test_giou_distance[int32]
CodSpeed Performance Gauge
-1%
376.2 µs
381.1 µs
test_iou_distance[float64]
bindings/tests/test_speed.py::test_iou_distance[float64]
CodSpeed Performance Gauge
-1%
195.6 µs
198.2 µs
test_box_convert_cxcywh_xywh[uint32]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[uint32]
CodSpeed Performance Gauge
-2%
36.5 µs
37 µs
test_boxes_areas[uint16]
bindings/tests/test_speed.py::test_boxes_areas[uint16]
CodSpeed Performance Gauge
-2%
32.8 µs
33.6 µs
test_box_convert_xyxy_xywh[float64]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[float64]
CodSpeed Performance Gauge
-3%
42.9 µs
44 µs
test_box_convert_xyxy_xywh[int32]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[int32]
CodSpeed Performance Gauge
-3%
36.6 µs
37.7 µs
test_remove_small_boxes[float64]
bindings/tests/test_speed.py::test_remove_small_boxes[float64]
CodSpeed Performance Gauge
-3%
43.2 µs
44.5 µs
test_remove_small_boxes[int16]
bindings/tests/test_speed.py::test_remove_small_boxes[int16]
CodSpeed Performance Gauge
-3%
33.8 µs
34.9 µs
test_box_convert_xyxy_xywh[int64]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[int64]
CodSpeed Performance Gauge
-3%
39.8 µs
41 µs
test_box_convert_xyxy_xywh[int16]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[int16]
CodSpeed Performance Gauge
-3%
35.2 µs
36.3 µs
test_box_convert_xyxy_xywh[uint64]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[uint64]
CodSpeed Performance Gauge
-3%
40 µs
41.3 µs
test_box_convert_xyxy_cxcywh[int64]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[int64]
CodSpeed Performance Gauge
-3%
40.1 µs
41.4 µs
test_box_convert_xyxy_xywh[float32]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[float32]
CodSpeed Performance Gauge
-3%
35.7 µs
36.9 µs
test_box_convert_xyxy_xywh[uint32]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[uint32]
CodSpeed Performance Gauge
-3%
35.8 µs
37 µs
test_box_convert_xyxy_cxcywh[float64]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[float64]
CodSpeed Performance Gauge
-3%
40 µs
41.4 µs
test_box_convert_cxcywh_xyxy[float64]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[float64]
CodSpeed Performance Gauge
-3%
39.8 µs
41.2 µs
test_box_convert_cxcywh_xywh[int32]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[int32]
CodSpeed Performance Gauge
-3%
36.2 µs
37.5 µs
test_box_convert_xywh_xyxy[int64]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[int64]
CodSpeed Performance Gauge
-3%
39.9 µs
41.3 µs
test_box_convert_xywh_cxcywh[int64]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[int64]
CodSpeed Performance Gauge
-3%
39.9 µs
41.3 µs
test_box_convert_xyxy_cxcywh[float32]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[float32]
CodSpeed Performance Gauge
-3%
35.9 µs
37.2 µs
test_box_convert_cxcywh_xyxy[int32]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[int32]
CodSpeed Performance Gauge
-4%
36 µs
37.4 µs
test_box_convert_xywh_cxcywh[int32]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[int32]
CodSpeed Performance Gauge
-4%
36 µs
37.4 µs
test_box_convert_cxcywh_xywh[float32]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[float32]
CodSpeed Performance Gauge
-4%
35.7 µs
37 µs
test_box_convert_xywh_cxcywh[uint8]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[uint8]
CodSpeed Performance Gauge
-4%
34.3 µs
35.6 µs
test_box_convert_xywh_cxcywh[uint32]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[uint32]
CodSpeed Performance Gauge
-4%
35.7 µs
37.1 µs
test_box_convert_xyxy_cxcywh[int16]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[int16]
CodSpeed Performance Gauge
-4%
35.4 µs
36.8 µs
test_box_convert_xyxy_xywh[uint16]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[uint16]
CodSpeed Performance Gauge
-4%
35 µs
36.4 µs
test_remove_small_boxes[uint32]
bindings/tests/test_speed.py::test_remove_small_boxes[uint32]
CodSpeed Performance Gauge
-4%
35.1 µs
36.4 µs
test_box_convert_cxcywh_xywh[uint16]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[uint16]
CodSpeed Performance Gauge
-4%
35 µs
36.3 µs
test_box_convert_xyxy_cxcywh[uint64]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[uint64]
CodSpeed Performance Gauge
-4%
39.8 µs
41.3 µs
test_box_convert_xywh_cxcywh[float32]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[float32]
CodSpeed Performance Gauge
-4%
35.6 µs
37.1 µs
test_box_convert_xywh_cxcywh[float64]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[float64]
CodSpeed Performance Gauge
-4%
39.7 µs
41.2 µs
test_boxes_areas[float64]
bindings/tests/test_speed.py::test_boxes_areas[float64]
CodSpeed Performance Gauge
-4%
39.1 µs
40.7 µs
test_box_convert_xywh_xyxy[uint64]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[uint64]
CodSpeed Performance Gauge
-4%
39.7 µs
41.3 µs
test_remove_small_boxes[uint8]
bindings/tests/test_speed.py::test_remove_small_boxes[uint8]
CodSpeed Performance Gauge
-4%
34.7 µs
36.1 µs
test_box_convert_cxcywh_xywh[uint64]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[uint64]
CodSpeed Performance Gauge
-4%
39.9 µs
41.5 µs
test_boxes_areas[uint32]
bindings/tests/test_speed.py::test_boxes_areas[uint32]
CodSpeed Performance Gauge
-4%
34.1 µs
35.5 µs
test_box_convert_cxcywh_xywh[float64]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[float64]
CodSpeed Performance Gauge
-4%
39.6 µs
41.2 µs
test_box_convert_cxcywh_xywh[int64]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[int64]
CodSpeed Performance Gauge
-4%
40 µs
41.6 µs
test_boxes_areas[uint64]
bindings/tests/test_speed.py::test_boxes_areas[uint64]
CodSpeed Performance Gauge
-4%
36.7 µs
38.2 µs
test_box_convert_cxcywh_xywh[uint8]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[uint8]
CodSpeed Performance Gauge
-4%
34.3 µs
35.8 µs
test_box_convert_xywh_xyxy[float32]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[float32]
CodSpeed Performance Gauge
-4%
35.6 µs
37 µs
test_boxes_areas[int32]
bindings/tests/test_speed.py::test_boxes_areas[int32]
CodSpeed Performance Gauge
-4%
34.4 µs
35.8 µs
test_box_convert_cxcywh_xyxy[int64]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[int64]
CodSpeed Performance Gauge
-4%
39.9 µs
41.6 µs
test_remove_small_boxes[int32]
bindings/tests/test_speed.py::test_remove_small_boxes[int32]
CodSpeed Performance Gauge
-4%
35.1 µs
36.5 µs
test_box_convert_xywh_cxcywh[int16]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[int16]
CodSpeed Performance Gauge
-4%
34.9 µs
36.4 µs
test_box_convert_xywh_xyxy[float64]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[float64]
CodSpeed Performance Gauge
-4%
39.3 µs
41 µs
test_box_convert_xyxy_cxcywh[uint32]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[uint32]
CodSpeed Performance Gauge
-4%
35.7 µs
37.2 µs
test_box_convert_xyxy_cxcywh[uint16]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[uint16]
CodSpeed Performance Gauge
-4%
35.1 µs
36.7 µs
test_boxes_areas[uint8]
bindings/tests/test_speed.py::test_boxes_areas[uint8]
CodSpeed Performance Gauge
-4%
33.6 µs
35.1 µs
test_boxes_areas[float32]
bindings/tests/test_speed.py::test_boxes_areas[float32]
CodSpeed Performance Gauge
-4%
34.3 µs
35.8 µs
test_boxes_areas[int64]
bindings/tests/test_speed.py::test_boxes_areas[int64]
CodSpeed Performance Gauge
-4%
36.5 µs
38.1 µs
test_remove_small_boxes[int64]
bindings/tests/test_speed.py::test_remove_small_boxes[int64]
CodSpeed Performance Gauge
-4%
37.2 µs
38.9 µs
test_box_convert_xyxy_cxcywh[uint8]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[uint8]
CodSpeed Performance Gauge
-4%
34.2 µs
35.7 µs
test_box_convert_xywh_xyxy[uint32]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[uint32]
CodSpeed Performance Gauge
-4%
35.3 µs
36.9 µs
test_box_convert_xyxy_xywh[uint8]
bindings/tests/test_speed.py::test_box_convert_xyxy_xywh[uint8]
CodSpeed Performance Gauge
-4%
35.4 µs
37 µs
test_remove_small_boxes[float32]
bindings/tests/test_speed.py::test_remove_small_boxes[float32]
CodSpeed Performance Gauge
-4%
37.4 µs
39.1 µs
test_box_convert_xywh_cxcywh[uint64]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[uint64]
CodSpeed Performance Gauge
-4%
39.4 µs
41.2 µs
test_box_convert_cxcywh_xyxy[uint16]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[uint16]
CodSpeed Performance Gauge
-4%
34.8 µs
36.3 µs
test_box_convert_cxcywh_xyxy[uint64]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[uint64]
CodSpeed Performance Gauge
-4%
39.7 µs
41.5 µs
test_box_convert_cxcywh_xyxy[float32]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[float32]
CodSpeed Performance Gauge
-4%
37 µs
38.7 µs
test_box_convert_cxcywh_xyxy[int16]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[int16]
CodSpeed Performance Gauge
-4%
35 µs
36.6 µs
test_remove_small_boxes[uint64]
bindings/tests/test_speed.py::test_remove_small_boxes[uint64]
CodSpeed Performance Gauge
-5%
37.3 µs
39 µs
test_remove_small_boxes[uint16]
bindings/tests/test_speed.py::test_remove_small_boxes[uint16]
CodSpeed Performance Gauge
-5%
33.7 µs
35.3 µs
test_box_convert_xywh_xyxy[uint16]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[uint16]
CodSpeed Performance Gauge
-5%
34.8 µs
36.4 µs
test_box_convert_cxcywh_xywh[int16]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xywh[int16]
CodSpeed Performance Gauge
-5%
35.1 µs
36.8 µs
test_box_convert_xywh_xyxy[uint8]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[uint8]
CodSpeed Performance Gauge
-5%
34.1 µs
35.8 µs
test_box_convert_cxcywh_xyxy[uint8]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[uint8]
CodSpeed Performance Gauge
-5%
34 µs
35.8 µs
test_box_convert_xywh_cxcywh[uint16]
bindings/tests/test_speed.py::test_box_convert_xywh_cxcywh[uint16]
CodSpeed Performance Gauge
-5%
34.7 µs
36.5 µs
test_box_convert_xywh_xyxy[int16]
bindings/tests/test_speed.py::test_box_convert_xywh_xyxy[int16]
CodSpeed Performance Gauge
-5%
34.7 µs
36.4 µs
test_parallel_iou_distance[float32]
bindings/tests/test_speed.py::test_parallel_iou_distance[float32]
CodSpeed Performance Gauge
-5%
249.8 µs
263.2 µs
test_box_convert_cxcywh_xyxy[uint32]
bindings/tests/test_speed.py::test_box_convert_cxcywh_xyxy[uint32]
CodSpeed Performance Gauge
-5%
35.4 µs
37.4 µs
test_box_convert_xyxy_cxcywh[int32]
bindings/tests/test_speed.py::test_box_convert_xyxy_cxcywh[int32]
CodSpeed Performance Gauge
-6%
36.1 µs
38.3 µs
test_boxes_areas[int16]
bindings/tests/test_speed.py::test_boxes_areas[int16]
CodSpeed Performance Gauge
-6%
32.5 µs
34.5 µs
test_parallel_iou_distance[int64]
bindings/tests/test_speed.py::test_parallel_iou_distance[int64]
CodSpeed Performance Gauge
-6%
364.4 µs
388.4 µs

Commits

Click on a commit to change the comparison range
Base
main
03270eb
-3%
fix: rm breakpoint
e84587e
1 year ago
by Smirkey
0%
fix: recursion error
cc01a23
1 year ago
by Smirkey
0%
fix: correct math
430ed34
1 year ago
by Smirkey
0%
fix: up that coverage
3b04088
1 year ago
by Smirkey
Home Terms PrivacyDocs