'Initialize CocoEval using coco APIs for gt and dt
:param cocoGt: coco object with ground truth annotations
:param cocoDt: coco object with detection results
:return: None'

def __init__(self, cocoGt=None, cocoDt=None):

    self.cocoGt = cocoGt
    self.cocoDt = cocoDt
    self.params = {}
    self.evalImgs = defaultdict(list)
    self.eval = {}
    self._gts = defaultdict(list)
    self._dts = defaultdict(list)
    self.params = Params()
    self._paramsEval = {}
    self.stats = []
    self.ious = {}
    if (not (cocoGt is None)):
        self.params.imgIds = sorted(cocoGt.getImgIds())
        self.params.catIds = sorted(cocoGt.getCatIds())
