mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
Make highgui.hpp independent from C API
This commit is contained in:
@@ -36,7 +36,7 @@ int main( int, char** argv )
|
||||
cvtColor( src, src_gray, COLOR_RGB2GRAY );
|
||||
|
||||
/// Create window
|
||||
namedWindow( window_name, CV_WINDOW_AUTOSIZE );
|
||||
namedWindow( window_name, WINDOW_AUTOSIZE );
|
||||
|
||||
/// Generate grad_x and grad_y
|
||||
Mat grad_x, grad_y;
|
||||
|
||||
Reference in New Issue
Block a user