PyCharm Code Inspect fixes (#18392)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
d35860d4a1
commit
e5e91967d9
31 changed files with 72 additions and 72 deletions
|
|
@ -545,7 +545,8 @@ class Annotator:
|
|||
"""Save the annotated image to 'filename'."""
|
||||
cv2.imwrite(filename, np.asarray(self.im))
|
||||
|
||||
def get_bbox_dimension(self, bbox=None):
|
||||
@staticmethod
|
||||
def get_bbox_dimension(bbox=None):
|
||||
"""
|
||||
Calculate the area of a bounding box.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue