Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV for Android & HTC One X

Hi everybody,
I'm working on a Opencv project that I test on a HTC One X. Since I need to use the camera, I was wondering if there are differences between using the class VideoCapture from the Java code and using the same class through a native C++ code.
Now I'm trying to work using native code and displaying the camera preview frames using OpenGL, but I'm getting all black frames...maybe the camera is not supported? From the logcat I don't see any error messages and the camera capabilities, resolutions and so on are all displayed.
Does anybody have experienced a similar problem? Maybe using the VideoCapture java class can solve the problem?

thank you