def drawAllBoundingBoxes(self, image, imageName):
    bbxes = self.getBoundingBoxesByImageName(imageName)
    for bb in bbxes:
        if (bb.getBBType() == BBType.GroundTruth):
            image = add_bb_into_image(image, bb, color=(0, 255, 0))
        else:
            image = add_bb_into_image(image, bb, color=(255, 0, 0))
    return image
def drawAllBoundingBoxes(self, image, imageName):
    bbxes = self.getBoundingBoxesByImageName(imageName)
    for bb in bbxes:
        if (bb.getBBType() == BBType.GroundTruth):
            image = add_bb_into_image(image, bb, color=(0, 255, 0))
        else:
            image = add_bb_into_image(image, bb, color=(255, 0, 0))
    return image