def updateBGR(self): self.bgrWithContours = cv_drawing.drawBorders(self.bgr, self.label)
def updateLabelImage(self): self.labelImage = colorizeLabels(self.bgr, self.label) self.labelImage = cv_drawing.drawBorders(self.labelImage, self.label)