def show(self, name, image, callback=None, foreground=True): self._ensurewindow(name, foreground) hg.cvShowImage(name, image) if callback is not None: hg.cvSetMouseCallback(name, callback, image)
def ShowImage(self, name, image): hg.cvShowImage(name, image)