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

Method apply

deploy/python/dataaug/utils/liner.py:50–81  ·  view source on GitHub ↗

:param word_img: word image with big background :param text_box_pnts: left-top, right-top, right-bottom, left-bottom of text word :return:

(self, word_img, text_box_pnts, word_color)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gen_img_listMethod · 0.45

Calls 1

get_line_colorMethod · 0.95

Tested by

no test coverage detected