fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
1 parent
7366ba9036
commit
331ccb8dde
2 files changed
+2
-2
No files matched your search
@@ -7,9 +7,9 @@ except importlib_metadata.PackageNotFoundError:
|
||||
__version__ = "development"
|
||||
|
||||
from supervision.annotators.core import (
|
||||
BlurAnnotator,
|
||||
BoundingBoxAnnotator,
|
||||
BoxCornerAnnotator,
|
||||
BlurAnnotator,
|
||||
CircleAnnotator,
|
||||
EllipseAnnotator,
|
||||
LabelAnnotator,
|
||||
|
||||
@@ -614,7 +614,7 @@ class BlurAnnotator(BaseAnnotator):
|
||||
roi = scene[y1:y2, x1:x2]
|
||||
|
||||
roi = cv2.GaussianBlur(
|
||||
img=roi, size=(5,5), sigmax=self.sigmax, sigmay=self.sigmay
|
||||
img=roi, size=(5, 5), sigmax=self.sigmax, sigmay=self.sigmay
|
||||
)
|
||||
scene[y1:y2, x1:x2] = roi
|
||||
|
||||
|
||||
Reference in new issue
Block a user