Opencv4Android on Nexus 5, Cannot create OpenGL context

asked 2014-05-07 02:44:36 -0500

matspetter gravatar image

When I try to use the VideoCapture native camera it doesn't initialize properly. In the logcat I see: "Cannot create OpenGL context".

This error (Cannot create OpenGL context) I also get when I for example create a Mat instance the first time:

Mat m = new Mat(500,500,anytype);

I have seen that the same (or very similar) problem has existed on Samsung Note and S4 etc so maybe this is the same thing!?

I'm running Android 4.4.2 and opencv 2.4.8 (have also tried 2.4.9).

Are there any possible work-arounds?

edit retag flag offensive close merge delete