-
Notifications
You must be signed in to change notification settings - Fork 203
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
always return cv:Mat() #14
Comments
This means that the combined segmentation map is only zeros. I like the idea of an iOS port! It can be a great contribution! Are you willing to share the code? |
the log: I found here : I will share the porting code till the app can run on iOS, but I might not enough time to support the code. |
I can't track the problem from this log. What images have you used? |
I found the rendered_img.data is zero, so opengles porting is not right? |
What is the OpenGL ES version? It has to be equivalent to OpenGL 1.5 (without shaders). |
#include <OpenGLES/ES1/gl.h> |
I have to use opengl es1, delete es2.0, now I test it... god bless me |
I already change opengl es2 to es1, no lucky:), rendered_img is still zero. |
So how to trace the problem in the next step? do you need more screetshots about it. |
when the app run here:
cv::Mat FaceSwap::blend(const cv::Mat& src, const cv::Mat& dst, const cv::Mat& dst_seg)
if (minc >= maxc || minr >= maxr) return cv::Mat();
blend always return cv:Mat(), I don't know what happen?
BTW: I finish port the great app to iOS platform, in the end run here and stop, return failstd::runtime_error: Face swap failed!
Thanks
John
The text was updated successfully, but these errors were encountered: