MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / _get_adaptive_scales

Function _get_adaptive_scales

mmdet/core/visualization/image.py:38–58  ·  view source on GitHub ↗

Get adaptive scales according to areas. The scale range is [0.5, 1.0]. When the area is less than ``'min_area'``, the scale is 0.5 while the area is larger than ``'max_area'``, the scale is 1.0. Args: areas (ndarray): The areas of bboxes or masks with the shape

(areas, min_area=800, max_area=30000)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

imshow_det_bboxesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected