mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Docs: Fix invalid conversion format in example (CV_BGR2GREY -> CV_BGR2GRAY)
This commit is contained in:
parent
0773ab4d07
commit
5d65d000ab
@ -144,7 +144,7 @@ A call to ``waitKey()`` starts a message passing cycle that waits for a key stro
|
||||
|
||||
Mat img = imread("image.jpg");
|
||||
Mat grey;
|
||||
cvtColor(img, grey, CV_BGR2GREY);
|
||||
cvtColor(img, grey, CV_BGR2GRAY);
|
||||
|
||||
Mat sobelx;
|
||||
Sobel(grey, sobelx, CV_32F, 1, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user