def METHOD_NAME(path_a, path_b):
    source_a = videoSource(path_a)
    source_b = videoSource(path_b)
    idx = 0
    while True:
        try:
            img_a = source_a.Capture()
            img_b = source_b.Capture()
        except:
            if idx > 0:
                return True
            else:
                log(f'[FAIL]   failed to load any images from sequence "{os.path.basename(path_a)}"')
                return False
        if img_a.shape != img_b.shape:
            log(f'[FAIL]   image {idx} from sequence "{os.path.basename(path_a)}" had different dimensions:')
            log(f'   {path_a}  {img_a.shape}')
            log(f'   {path_b}  {img_b.shape}')
            return False
        diff = image_diff(img_a, img_b)
        if diff > 0:
            log(f'[{"FAIL" if diff > args.threshold else "WARN"}]   image {idx} from sequence "{os.path.basename(path_a)}" had pixel difference of {diff} ({"exceeding" if diff > args.threshold else "within"} threshold of {args.threshold})')
            if diff > args.threshold:
                return False
        idx += 1
    return True