Beispiel #1
0
 def detect(self, cvimg):
     output = Output(cvimg)
     self.processed['input'] = cvimg
     color_corrected = self.color_correct(cvimg)
     threshImg = self.threshold(color_corrected)
     self.findContour(threshImg, output)
     output.processed = self.processed
     return output