1 | initial version |
cv::VideoCapture does not work in simple console application, because it has no rights to access camera. Console application does not have its own manifest and cannot allow access to camera stack.
cv::VideoCapture works ok in Java code with JNI calls. Do not forget add camera access permissions to Android Manifest.