File size: 938 Bytes
6c9ac8f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
from mmdet.structures.bbox import BaseBoxes
class ToyBaseBoxes(BaseBoxes):
box_dim = 4
@property
def centers(self):
pass
@property
def areas(self):
pass
@property
def widths(self):
pass
@property
def heights(self):
pass
def flip_(self, img_shape, direction='horizontal'):
pass
def translate_(self, distances):
pass
def clip_(self, img_shape):
pass
def rotate_(self, center, angle):
pass
def project_(self, homography_matrix):
pass
def rescale_(self, scale_factor):
pass
def resize_(self, scale_factor):
pass
def is_inside(self, img_shape):
pass
def find_inside_points(self, points, is_aligned=False):
pass
def overlaps(bboxes1, bboxes2, mode='iou', is_aligned=False, eps=1e-6):
pass
def from_instance_masks(masks):
pass
|