示例#1
0
 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)
示例#2
0
 def SetMouseCallback(self, name, callback, param=None):
     hg.cvSetMouseCallback(name, callback, param)