File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/py_tutorials/py_gui/py_image_display Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ Use the function **cv2.imread()** to read an image. The image should be in the w
2222
2323Second argument is a flag which specifies the way image should be read.
2424
25- * cv2.CV_LOAD_IMAGE_COLOR : Loads a color image. Any transparency of image will be neglected. It is the default flag.
26- * cv2.CV_LOAD_IMAGE_GRAYSCALE : Loads image in grayscale mode
27- * cv2.CV_LOAD_IMAGE_UNCHANGED : Loads image as such including alpha channel
25+ * cv2.IMREAD_COLOR : Loads a color image. Any transparency of image will be neglected. It is the default flag.
26+ * cv2.IMREAD_GRAYSCALE : Loads image in grayscale mode
27+ * cv2.IMREAD_UNCHANGED : Loads image as such including alpha channel
2828
2929.. note :: Instead of these three flags, you can simply pass integers 1, 0 or -1 respectively.
3030
You can’t perform that action at this time.
0 commit comments