android opencv green flash [closed]

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

ajevajev gravatar image

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

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 reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-10-20 04:51:07.138697

Comments

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

wpccolorblind gravatar imagewpccolorblind ( 2014-07-15 20:55:35 -0600 )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 -0600 )edit