MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / _getDrawLine

Method _getDrawLine

PATH/core/solvers/utils/detools/box.py:156–162  ·  view source on GitHub ↗

:meth: get line size for drawing bounding box :param bold: if bold the bounding box or not, default False :type bold: bool

(self, bold=False)

Source from the content-addressed store, hash-verified

154 return (255, 255, 255)
155
156 def _getDrawLine(self, bold=False):
157 """
158 :meth: get line size for drawing bounding box
159 :param bold: if bold the bounding box or not, default False
160 :type bold: bool
161 """
162 return 2 if bold else 1
163
164 def draw(self, img, bold=False):
165 """

Callers 1

drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected