MCPcopy Create free account
hub / github.com/PaddlePaddle/EasyData / draw_box

Function draw_box

deploy/python/dataaug/utils/renderer.py:18–51  ·  view source on GitHub ↗

:param img: gray image, will be convert to BGR image :param pnts: left-top, right-top, right-bottom, left-bottom :param color: :return:

(img, pnts, color)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

draw_bboxFunction · 0.85
gen_img_listMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected