Skip to content

Commit

Permalink
Merge pull request #406 from kwcckw/dev
Browse files Browse the repository at this point in the history
Fixed bug and updated notebook examples.
  • Loading branch information
kwcckw authored Nov 28, 2023
2 parents b876f8e + 712c3c8 commit 9b51cf4
Show file tree
Hide file tree
Showing 2 changed files with 284 additions and 147 deletions.
5 changes: 0 additions & 5 deletions augraphy/base/paperfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,6 @@ def __call__(self, image, layer=None, mask=None, keypoints=None, bounding_boxes=
else:
new_texture = self.generate_random_texture(texture)

from matplotlib import pyplot as plt

plt.figure()
plt.imshow(new_texture)

# resize for size consistency between both textures
new_texture = cv2.resize(
new_texture,
Expand Down
426 changes: 284 additions & 142 deletions examples/Paper_Texture_Generation_with_Augraphy.ipynb

Large diffs are not rendered by default.

0 comments on commit 9b51cf4

Please sign in to comment.