android opencv green flash

asked 2013-08-12 06:17:33 -0500

ajevajev gravatar image

updated 2013-08-12 07:01:08 -0500

When I start my activity using JavaCameraView my screen is green for about 1 second and after that the camera in open normally. When I use NativeCameraView the screen is black for 1 second. How can I have a black screen before opening camera(without using NativeCameraView) ?;

edit retag flag offensive close merge delete


Same issue here. Anyone figure this out? Happens anytime I start/stop the camera.

wpccolorblind gravatar imagewpccolorblind ( 2014-07-15 20:55:35 -0500 )edit

This is probably the time your camera needs to get initialized. If this is exactly 1 second, then just wait from displaying until your sure the connection is stable. That is how everyone does it.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-16 02:08:10 -0500 )edit