diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -50,5 +50,16 @@ pip3 install pillow opencv-python``` Image name should be the faction + monster ID. Model `FFMM`. So an imperial spearman is named `0001` and an arch wizard is named `0701`. Attribution template is sent to ATTR.txt for convenience - +* units.py + * Based in "ready-units" folder, using semi-qualified name (e.g. 1002 - 1 star, + unit 2; The "10" prefix and 0x suffix is not needed). Resizes image to 640x960 + and finds a face, which is then centered and a square is produced, then the + three image slices are made. Accepts PNG and JPG input, output is Webp. + If there is a image with same name but "sq_" prefix, it's used instead of face + detection tool. The output is saved in square/ and unit/ subfolder + * Structure: + ready-units/ + unit/ + square/ + base/ ← Save your images here |