Ask Your Question
0

Opencv for Android: How can I enable camera flash with CameraBridgeViewBase

asked 2013-11-25 15:59:03 -0600

alexalex20 gravatar image

I'm developing my own camera do recognize stuff and I am using opencv with CameraBridgeViewBase. How can I turn on the flash led and torch?

I couldn't find any documentation on this. I know that it's possible with the native camera but I don't want to use the native camera.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-26 04:37:49 -0600

CameraBridgeViewBase is a base class for two view implementations: NativeCameraView and JavaCameraView. The last one uses standard Android API for camera access. There is example Tutorial3-CameraControl in OpenCV4Android SDK that shows how to get access to internal mCamera (android.hardware.camera class) object and set some additional parameters. I recommend you to start from this example.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-11-25 15:59:03 -0600

Seen: 2,767 times

Last updated: Nov 26 '13