Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use standard Android camera filters with CvCameraViewFrame

My camera app shall use the standard camera filters for Android and for extra filters I want to use OpenCV.

In OpenCV I have to use CvCameraViewFrame for filters.

In Android I have the class android.hardware.Camera.Parameters to set standard Android filters (http://developer.android.com/reference/android/hardware/Camera.Parameters.html).

But CvCameraViewFrame has no setParameters(Camera.Parameters) or setWhiteBalance(String) (and so on) filter methods as Android Camera class has.

Is there a way to use Android standard filters with CvCameraViewFrame or have I to implement them a second time for CvCameraViewFrame?

Or have I to switch between android.hardware.Camera and org.opencv.android.CameraBridgeViewBase.CvCameraViewFrame and can only use Camera filters OR CvCameraViewFrame filters and no combination is possible?

Use standard Android camera filters with CvCameraViewFrame

My camera app shall use the standard camera filters for Android and for extra filters I want to use OpenCV.

My app shall use live filters. In OpenCV I have to use CvCameraViewFrame for filters.

In Android I have the class android.hardware.Camera.Parameters to set standard Android filters (http://developer.android.com/reference/android/hardware/Camera.Parameters.html).

But CvCameraViewFrame has no setParameters(Camera.Parameters) or setWhiteBalance(String) (and so on) filter methods as Android Camera class has.

Is there a way to use Android standard filters with CvCameraViewFrame or have I to implement them a second time for CvCameraViewFrame?

Or have I to switch between android.hardware.Camera and org.opencv.android.CameraBridgeViewBase.CvCameraViewFrame and can only use Camera filters OR CvCameraViewFrame filters and no combination is possible?