MCPcopy Create free account
hub / github.com/cvzone/cvzone / putTextRect

Function putTextRect

cvzone/Utils.py:224–252  ·  view source on GitHub ↗

Creates Text with Rectangle Background :param img: Image to put text rect on :param text: Text inside the rect :param pos: Starting position of the rect x1,y1 :param scale: Scale of the text :param thickness: Thickness of the text :param colorT: Color of the Text :pa

(img, text, pos, scale=3, thickness=3, colorT=(255, 255, 255),
                colorR=(255, 0, 255), font=cv2.FONT_HERSHEY_PLAIN,
                offset=10, border=None, colorB=(0, 255, 0))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected