parameters: (self, ids=[])
docstring: Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying img
          :return: imgs (object array) : loaded img objects
docstring_summary: Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying img
          :return: imgs (object array) : loaded img objects
docstring_tokens: Load anns with the specified ids . : param ids ( int array ) : integer ids specifying img : return : imgs ( object array ) : loaded img objects
function: def loadImgs(self, ids=[]):
          """
          Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying img
          :return: imgs (object array) : loaded img objects
          """
          if type(ids) == list:
              return [self.imgs[id] for id in ids]
          elif type(ids) == int:
              return [self.imgs[ids]]
function_tokens: def loadImgs ( self , ids = [ ] ) : if type ( ids ) == list : return [ self . imgs [ id ] for id in ids ] elif type ( ids ) == int : return [ self . imgs [ ids ] ]