File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ include "script_parser.h"
99#include < opencv2/core/core.hpp>
1010#include < opencv2/imgproc/imgproc.hpp>
1111#include < opencv2/highgui/highgui.hpp>
12+ #include < opencv2/imgcodecs/legacy/constants_c.h>
13+ #include < opencv2/videoio/legacy/constants_c.h>
1214
1315using namespace cv;
1416
@@ -95,9 +97,6 @@ inline void cv_writer_s::clear(interpreter_thread_s &it)
9597
9698inline opencv_c::opencv_c ()
9799{/* {{{*/
98- debug_message_2 (fprintf (stderr," cvInitSystem()\n " ););
99-
100- cvInitSystem (0 ,nullptr );
101100}/* }}}*/
102101
103102inline opencv_c::~opencv_c()
Original file line number Diff line number Diff line change @@ -764,7 +764,7 @@ method CvWindow
764764 try
765765 {
766766 // - create opencv window -
767- cvNamedWindow (string_ptr->data );
767+ cv::namedWindow (string_ptr->data );
768768 }
769769
770770 // - ERROR -
You can’t perform that action at this time.
0 commit comments