Skip to content

Commit

Permalink
Merge pull request #379 from kwcckw/dev
Browse files Browse the repository at this point in the history
Updated usage example and added example on all augmentations.
  • Loading branch information
kwcckw authored Oct 10, 2023
2 parents 9e66839 + 9591696 commit 299f9d9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion augraphy/augmentations/markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def __call__(self, image, layer=None, mask=None, keypoints=None, bounding_boxes=
# Applying dilate operation to connect text lines horizontaly.
contours, hierarchy = cv2.findContours(
binary_image,
cv2.RETR_EXTERNAL,
cv2.RETR_LIST,
cv2.CHAIN_APPROX_NONE,
) # Each line is detected as a contour.

Expand Down
2 changes: 1 addition & 1 deletion examples/Augraphy_usage_examples.ipynb

Large diffs are not rendered by default.

Binary file modified images/basic_examples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/basic_examples_old.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 299f9d9

Please sign in to comment.