feat 测试批量上传图片

fix
This commit is contained in:
zhouchengrong
2024-07-19 15:17:54 +08:00
parent ed908d0472
commit 33e7d884cf
7 changed files with 8 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ class Painting(object):
def __init__(self, painting_flag=True):
self.painting_flag = painting_flag
@ClassCallRunTime
# @ClassCallRunTime
def __call__(self, result):
if result['name'] not in ['hairstyle', 'earring'] and self.painting_flag and result['color'] != 'none':
dim_image_h, dim_image_w = result['image'].shape[0:2]
@@ -87,7 +87,7 @@ class PrintPainting(object):
def __init__(self, print_flag=True):
self.print_flag = print_flag
@ClassCallRunTime
# @ClassCallRunTime
def __call__(self, result):
single_print = result['print']['single']
overall_print = result['print']['overall']