mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
change tutorial to use enum name instead of value (#8783)
* change tutorial to use enum name instead of value * use enum name instead of value
This commit is contained in:
committed by
Vadim Pisarevsky
parent
2a5e12ccb5
commit
f6b6fbf136
@@ -28,7 +28,7 @@ int main( int argc, char** argv )
|
||||
char* imageName = argv[1];
|
||||
|
||||
Mat image;
|
||||
image = imread( imageName, 1 );
|
||||
image = imread( imageName, IMREAD_COLOR );
|
||||
|
||||
if( argc != 2 || !image.data )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user