You download images to a folder
⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️
sp_group --style painting.png -H 100 downloaded/
⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️
You open output.psd, resize layers, fix perspective, patch.
⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️
sp_pack
Congrats! You get packed spritesheet and UV coordinates in .txt
- Foreground extraction
- Light correction
- Style transfer
- PSD building
- Spritesheet packing
sp_group folder_name/ --style STYLE_IMAGE -W MAX_WIDTH -H MAX_HEIGHT -f STYLE_FORCE -o OUTPUT_PSD
Creates PSD file containing group folder_name
where each layer is a processed image with the specified maximum dimensions.
sp_pack psd_file.psd -o OUTPUT_DIR --format SPRITESHEET_IMAGE_FORMAT
For each group in PSD creates packed spritesheet image and UV coordinates file named group_name.fmt and group_name_uvs.txt.
- BiRefNet to extract foreground
- RetinexNet to fix lights
- nst_vgg19 for Neural Style Transfer
- RealESRGAN_MtG to improve quality
- OpenCV to other filters and algorithms