added COLOR_... enumeration to imgproc.hpp and EVENT_... enumeration to highgui.hpp

This commit is contained in:
Vadim Pisarevsky
2011-07-18 13:05:34 +00:00
parent 86105b8727
commit 16ba62dcd5
16 changed files with 187 additions and 35 deletions

View File

@@ -1,6 +1,5 @@
import numpy as np
import cv2
import cv2.cv as cv
help_message = '''USAGE: floodfill.py [<image>]
@@ -42,7 +41,7 @@ if __name__ == '__main__':
def onmouse(event, x, y, flags, param):
global seed_pt
if flags & cv.CV_EVENT_FLAG_LBUTTON:
if flags & cv2.EVENT_FLAG_LBUTTON:
seed_pt = x, y
update()