Open li829 opened 4 years ago
Replace
IplImage z_ipl = z;
by
IplImage z_ipl = cvIplImage(z);
I am using Opencv 4.5.4 version. I get this problem:
IplImage z_ipl = z;
Error: conversion from ‘cv::Mat’ to non-scalar type ‘IplImage {aka _IplImage}’ requested.
I tried 'IplImage z_ipl = cvIplImage(z);' but I don't solve this problem. I also set dlib library and try;
IplImage z_ipl = cvIplImage(z);
dlib::cv_image
My opencv is opencv4.2, and I get this problem: IplImage z_ipl = z; conversion from ‘cv::Mat’ to non-scalar type ‘IplImage {aka _IplImage}’ requested
How can I solve this problem. Thanks a lot.