Skip to content

Commit

Permalink
Update mmeval/metrics/utils/bbox_overlaps_rotated.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
  • Loading branch information
YanxingLiu and zhouzaida authored Jan 25, 2023
1 parent 1f2973a commit eff2898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmeval/metrics/utils/bbox_overlaps_rotated.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def calculate_overlaps_rotated(bboxes1: np.ndarray,
"""
if cv2 is None:
raise ImportError('To use `calculate_overlaps_rotated` function, '
'please install opecnv-python first.')
'please install opencv-python first.')

assert bboxes1.ndim == 2 and bboxes1.shape[-1] == 5, \
'The shape of bboxes1 should be (N, 5)'
Expand Down

0 comments on commit eff2898

Please sign in to comment.