|
|
@@ -62,6 +62,7 @@ async def segmentImages(params: SegmentImages):
|
|
|
elif image_type == 0 and segment_type == 0:
|
|
|
# 通用-普通抠图
|
|
|
deal_cutout_mode = DealCutout(token)
|
|
|
+ deal_cutout_mode.need_cutout_images = need_cutout_images
|
|
|
deal_cutout_mode.output_type = output_type
|
|
|
result = deal_cutout_mode.normalMode()
|
|
|
return success({"result": result})
|