Skip to content

Commit

Permalink
Merge pull request #436 from mezotaken/interop_fix
Browse files Browse the repository at this point in the history
Fix interop by adding missing arguments
  • Loading branch information
kwcckw authored Jul 18, 2024
2 parents 4132722 + ce6ce36 commit eeb23d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augraphy/utilities/interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, augmentation, p=1):
self.augmentation = augmentation
super().__init__(p=p)

def __call__(self, image, layer=None, force=False):
def __call__(self, image, layer=None, mask=None, keypoints=None, bounding_boxes=None, force=False):

image = image.copy()
result = self.augmentation(image=image)
Expand Down

0 comments on commit eeb23d6

Please sign in to comment.