def process(self, filepath): img = Image(filepath) # load the image into SimpleCV # ~ img = img.edges() # Get the edges img.save(filepath) # save the temporary image self.imageset.append(img.get_pil()) writeGif(self.giffile, self.imageset, 0.2, 9999) return
def process(self, filepath): img = Image(filepath) # load the image into SimpleCV img = img.edges() # Get the edges img.save(filepath) # save the temporary image