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

Method pick_font

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

:param img_index when use list corpus, this param is used :return: font: truetype size: word size, removed offset (width, height)

(self, img_index)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

get_word_sizeMethod · 0.95

Tested by

no test coverage detected