OpenCOLE icon indicating copy to clipboard operation
OpenCOLE copied to clipboard

Renderer input format

Open Sudeeksha2308 opened this issue 1 year ago • 1 comments

I only want to use the Graphic Renderer from your pipeline. How should the typography .json format look like for the inference. Can you please provide more details on what keys should be present in the json file?

Sudeeksha2308 avatar Jul 05 '24 08:07 Sudeeksha2308

I have generated examples for your reference: { "angle": [ -9.286449875947982e-15, -9.286449875947982e-15, -9.286449875947982e-15 ], "letter_spacing": [ 25.6, 25.6, 3.4638958368304884e-14 ], "font_size": [ 326.42683781590375, 326.42683781590375, 34.08895371565813 ], "text": [ "HELL", "PRESIDENT", "MEZ" ], "width": [ 0.6967922449111938, 0.6190618732396294, 0.20348270661358175 ], "height": [ 0.31240726236639355, 0.31240726236639355, 0.0324459424470183 ], "left": [ 0.13696749689001025, 0.18654085041546242, 0.39318807335460887 ], "top": [ 0.39554983644343134, 0.39554983644343134, 0.5952026392962482 ], "font": [ 47, 47, 1 ], "color": [ [ 255.0, 255.0, 255.0 ], [ 166.5625, 135.26315789473685, 107.5925925925926 ], [ 237.68965517241378, 207.0, 192.0 ] ], "text_align": [ 2, 2, 2 ], "capitalize": [ 0, 0, 0 ], "line_height": [ 0.9999999999999986, 0.9999999999999986, 0.9999999999999986 ] }

bjtuln avatar Sep 02 '24 16:09 bjtuln