feat(新功能):

fix(修复bug):   accessories 替换为 others
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zchengrong
2025-11-07 10:56:34 +08:00
parent 7d2149dcaf
commit e8d8b715ae
15 changed files with 36 additions and 36 deletions

View File

@@ -58,14 +58,14 @@ def organize_clothing(layer):
return front_layer, back_layer
def organize_accessories(layer):
def organize_others(layer):
# 起始坐标
start_point = (0, 0)
layer['clothes_keypoint'] = {
'accessories_left': [0, 0]
'others_left': [0, 0]
}
layer['body_point_test'] = {
'accessories_left': [0, 0]
'others_left': [0, 0]
}
start_point = calculate_start_point(layer['keypoint'], layer['scale'], layer['clothes_keypoint'], layer['body_point_test'], layer["offset"], layer["resize_scale"])