opencv 2.3.1 or higher have no Python bindings ...

In OpenCV 2.3.1 and higher, Python bindings do not have highgui.

import cv2 import cv2.cv as cv

and you're good to go.

import cv2
img = cv2.imread("image name") cv2.imshow("window name", img) cv2.waitKey(0)

You can find more help on OpenCV docs and you could also look at some of the opwncv stuff that I have been doing here.

I hope this helps.

你可能感兴趣的:(python,opencv,howto,highgui)