Final review multi_apps fix the rest part

This commit is contained in:
yuanmengqi
2025-07-12 20:28:55 +00:00
parent dbecf46057
commit 97ed6f99b0
5 changed files with 38 additions and 23 deletions

View File

@@ -396,7 +396,10 @@ def check_structure_sim_resized(src_path, tgt_path):
# Check if the structure is similar
structure_same = structure_check_by_ssim(img_src_resized, img_tgt)
return structure_same
if structure_same:
return 1.
else:
return 0.
def check_contrast_increase_and_structure_sim(src_path, tgt_path):