Opencv4Android on Nexus 5, Cannot create OpenGL context
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?