模特换鞋图片生成工具

sun-pc cddb7aebad update 3 semanas atrás
gen 780067ddae init 3 semanas atrás
model 780067ddae init 3 semanas atrás
models 780067ddae init 3 semanas atrás
oss 780067ddae init 3 semanas atrás
shoes 780067ddae init 3 semanas atrás
tryonpy 780067ddae init 3 semanas atrás
go.mod 780067ddae init 3 semanas atrás
go.sum 780067ddae init 3 semanas atrás
main.go cddb7aebad update 3 semanas atrás
readme.md 780067ddae init 3 semanas atrás
tryon-new.zip cddb7aebad update 3 semanas atrás

readme.md

功能描述

根据模型和多张鞋子图片合成图片

  1. 读取命令行参数 获取图片
  2. 上传图片到oss
  3. 生成结果图片下载到本地目录

命令说明

# 默认目录 -m ./models -s ./shoes
# 默认 scale 5.0 [2.0-8.0] 数字越大越鲜亮
# 完整参数示例
/tryon.exe -m model2.jpg -c 5.6 -s shoe2.png -s shoe3.png

# 简化参数示例
/tryon.exe -m model2.jpg

sh