docstr: Load anns with the specified ids.
  :param ids (int array)       : integer ids specifying anns
  :return: anns (object array) : loaded ann objects
docstr_tok: ["Load","anns","with","the","specified","ids",".",":","param","ids","(","int","array",")",":","integer","ids","specifying","anns",":","return",":","anns","(","object","array",")",":","loaded","ann","objects"]
code: def loadAnns(self, ids=[]):
      """
      Load anns with the specified ids.
      :param ids (int array)       : integer ids specifying anns
      :return: anns (object array) : loaded ann objects
      """
      if _isArrayLike(ids):
          return [self.anns[id] for id in ids]
      elif type(ids) == int:
          return [self.anns[ids]]
  
imports: import json
  import time
  import matplotlib.pyplot
  from matplotlib.collections import PatchCollection
  from matplotlib.patches import Polygon
  import numpy
  import copy
  import itertools
  from pycocotools import mask
  import os
  from collections import defaultdict
  import sys
label_desc: Use image node_id 7 for calling the COCO obj's underlying member method code with example usage: obj.loadAnns(ids) and returns: unknown, list