Spaces:
Runtime error
Runtime error
# Copyright (c) OpenMMLab. All rights reserved. | |
from .base_boxes import BaseBoxes | |
from .bbox_overlaps import bbox_overlaps | |
from .box_type import (autocast_box_type, convert_box_type, get_box_type, | |
register_box, register_box_converter) | |
from .horizontal_boxes import HorizontalBoxes | |
from .transforms import (bbox2corner, bbox2distance, bbox2result, bbox2roi, | |
bbox_cxcywh_to_xyxy, bbox_flip, bbox_mapping, | |
bbox_mapping_back, bbox_project, bbox_rescale, | |
bbox_xyxy_to_cxcywh, cat_boxes, corner2bbox, | |
distance2bbox, empty_box_as, find_inside_bboxes, | |
get_box_tensor, get_box_wh, roi2bbox, scale_boxes, | |
stack_boxes) | |
__all__ = [ | |
'bbox_overlaps', 'bbox_flip', 'bbox_mapping', 'bbox_mapping_back', | |
'bbox2roi', 'roi2bbox', 'bbox2result', 'distance2bbox', 'bbox2distance', | |
'bbox_rescale', 'bbox_cxcywh_to_xyxy', 'bbox_xyxy_to_cxcywh', | |
'find_inside_bboxes', 'bbox2corner', 'corner2bbox', 'bbox_project', | |
'BaseBoxes', 'convert_box_type', 'get_box_type', 'register_box', | |
'register_box_converter', 'HorizontalBoxes', 'autocast_box_type', | |
'cat_boxes', 'stack_boxes', 'scale_boxes', 'get_box_wh', 'get_box_tensor', | |
'empty_box_as' | |
] | |