: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)
| 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 | """ |