Load anns with the specified ids. :param ids (int array) : integer ids specifying anns :return: anns (object array) : loaded ann objects
(self, ids=[])
| 300 | return res |
| 301 | |
| 302 | def loadAnns(self, ids=[]): |
| 303 | """ |
| 304 | Load anns with the specified ids. |
| 305 | :param ids (int array) : integer ids specifying anns |
| 306 | :return: anns (object array) : loaded ann objects |
| 307 | """ |
| 308 | if _isArrayLike(ids): |
| 309 | return [self.anns[id] for id in ids] |
| 310 | elif type(ids) == int: |
| 311 | return [self.anns[ids]] |
| 312 | |
| 313 | def getAnnIds(self, imgIds=[], catIds=[], areaRng=[], iscrowd=None): |
| 314 | """ |
no test coverage detected