Log in or register to post comments

Camera showing black on Google Glass

December 3, 2013 - 12:28am #1

Hi,

I am using Vuforia 2.6.10 for recognizing an image target on Google Glass wich runs Android 4.0.4. The issue is present on Image Target Sample also.

There are some problems with the camera. Sometimes the camera is working, but in many cases it isn’t. It seems that when launching in debug mode the camera is working ok. In many cases, when application is started from the launcher or when a picture is taken before the application is started, the camera is not working.

There is a problem on camera or glsurfaceview initialization. This is a log when running Image Target Sample:

 

12-02 16:10:53.664: I/QCAR(2816): Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargets_startCamera

12-02 16:10:56.257: D/libEGL(2816): loaded /system/lib/egl/libGLES_android.so

12-02 16:10:56.289: D/libEGL(2816): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so

12-02 16:10:56.328: D/libEGL(2816): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so

12-02 16:10:56.351: D/libEGL(2816): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so

12-02 16:10:56.531: I/QCAR(2816): Creating OpenGL ES 2.0 context

12-02 16:10:56.632: D/QCAR(2816): GLRenderer::onSurfaceCreated

12-02 16:10:56.632: I/QCAR(2816): Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargetsRenderer_initRendering

12-02 16:10:56.648: D/QCAR(2816): GLRenderer::onSurfaceChanged

12-02 16:10:56.648: I/QCAR(2816): Java_com_qualcomm_QCARSamples_ImageTargets_ImageTargetsRenderer_updateRendering

12-02 16:10:56.648: I/QCAR(2816): Correcting rendering background size to handle missmatch between screen and video aspect ratios.

12-02 16:10:56.648: I/QCAR(2816): Configure Video Background : Video (0,0), Screen (640,360), mSize (0,360)

12-02 16:10:56.648: E/AR(2816): VideoBackgroundConfig with screen size of zero received, skipping config step

 

Thanks

Log in or register to post comments