Skip to content

Commit

Permalink
Update rotate.py (#2330)
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteEbner authored Feb 4, 2025
1 parent 2764cb4 commit 752264b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion albumentations/augmentations/geometric/rotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class Rotate(DualTransform):
Default: cv2.INTER_LINEAR.
border_mode (OpenCV flag): Flag that is used to specify the pixel extrapolation method. Should be one of:
cv2.BORDER_CONSTANT, cv2.BORDER_REPLICATE, cv2.BORDER_REFLECT, cv2.BORDER_WRAP, cv2.BORDER_REFLECT_101.
Default: cv2.BORDER_REFLECT_101
Default: cv2.BORDER_CONSTANT
fill (ColorType): Padding value if border_mode is cv2.BORDER_CONSTANT.
fill_mask (ColorType): Padding value if border_mode is cv2.BORDER_CONSTANT applied for masks.
rotate_method (str): Method to rotate bounding boxes. Should be 'largest_box' or 'ellipse'.
Expand Down

0 comments on commit 752264b

Please sign in to comment.