code: def loadImgs(self, ids=[]):
          
          if type(ids) == list:
              return [self.imgs[id] for id in ids]
          elif type(ids) == int:
              return [self.imgs[ids]]
docs: Load anns with the specified ids.
          :param ids (int array)       : integer ids specifying img
          :return: imgs (object array) : loaded img objects