-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
ink_phase = [Letterpress(blur=0.0, n_samples=(100,300), n_clusters=(100,350), std_range=(1000, 3000), value_range=(180,255), p=p), # foreground
]
paper_phase = [DirtyScreen(p=p), #background
NoiseTexturize(sigma_range=(1,5), turbulence_range=(1,4), p=0.8), #background
]
post_phase = [ ]
pipeline = AugraphyPipeline(ink_phase, paper_phase, post_phase)
for img_path in tqdm(img_file_list[27:]):
img_path = img_path.strip()
img = cv2.imread(img_path)
aug_imgx2 = pipeline(img)
Metadata
Metadata
Assignees
Labels
No labels