Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to recent OpenCV #3

Open
paulocoutinhox opened this issue May 18, 2024 · 0 comments
Open

Update to recent OpenCV #3

paulocoutinhox opened this issue May 18, 2024 · 0 comments

Comments

@paulocoutinhox
Copy link

Hi,

Can you pls update to recent opencv 4.9?

Some errors:

/Users/paulo/Developer/workspaces/cpp/cpp-face-morph-server/server/lib/local/fld-core/src/Patch_experts.cpp:230:11: error: no viable conversion from 'cv::Mat_<float>' to 'CvMat'
                                CvMat area_of_interest_o = area_of_interest;

/Users/paulo/Developer/workspaces/cpp/cpp-face-morph-server/server/lib/local/fld-core/src/Patch_experts.cpp:231:11: error: no viable conversion from 'cv::Mat' to 'CvMat'
                                CvMat sim_o = sim;

/Users/paulo/Developer/workspaces/cpp/cpp-face-morph-server/server/lib/local/fld-core/src/Patch_experts.cpp:232:14: error: no viable conversion from 'const cv::Mat_<uchar>' (aka 'const Mat_<unsigned char>') to 'IplImage' (aka '_IplImage')
                                IplImage im_o = grayscale_image;  

/Users/paulo/Developer/workspaces/cpp/cpp-face-morph-server/server/lib/local/fld-core/src/Patch_experts.cpp:257:12: error: no viable conversion from 'cv::Mat_<float>' to 'CvMat'
                                        CvMat dimg_o = depthWindow;
                                              ^        ~~~~~~~~~~~

/Users/paulo/Developer/workspaces/cpp/cpp-face-morph-server/server/lib/local/fld-core/src/Patch_experts.cpp:259:12: error: no viable conversion from 'cv::Mat' to 'CvMat'
                                        CvMat mimg_o = maskWindow;

[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant