Ask Your Question
1

Use standard Android camera filters with CvCameraViewFrame

asked 2013-04-29 11:37:03 -0500

AAZZ gravatar image

updated 2013-04-29 11:39:04 -0500

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-04-29 23:35:45 -0500

See tutorial-3 example from OpenCV4Android SDK. It shows how to use standard Android camera filters in your OpenCV app.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-04-29 11:37:03 -0500

Seen: 1,344 times

Last updated: Apr 29 '13