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

Method _getDrawColor

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

:meth: get color for drawing bounding box :return: 3-D tuple as color, default white as (255,255,255)

(self)

Source from the content-addressed store, hash-verified

147 return self.intersection(boxB) / float(min(self.area, boxB.area)+self.eps)
148
149 def _getDrawColor(self):
150 """
151 :meth: get color for drawing bounding box
152 :return: 3-D tuple as color, default white as (255,255,255)
153 """
154 return (255, 255, 255)
155
156 def _getDrawLine(self, bold=False):
157 """

Callers 1

drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected