Merge branch 'main' into fix_chrome
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user