This commit is contained in:
Zhewei Huang
2021-12-19 02:51:52 +08:00
committed by GitHub
parent 6ae037d98b
commit 9172373f4e
+1 -2
View File
@@ -225,8 +225,7 @@ while True:
ssim = ssim_matlab(I0_small[:, :3], I1_small[:, :3])
break_flag = False
if ssim > 0.999:
continue
if ssim > 0.996:
frame = read_buffer.get() # read a new frame
if frame is None:
break_flag = True