I am writing an android camera app using camera2 API. I want to know how to add various filtering effects i.e sepia, negative in android camera surface as a list. Please help to solve the same.
Asked
Active
Viewed 1,966 times
0
-
you can check out android effectFactory https://developer.android.com/reference/android/media/effect/EffectFactory.html – uelordi Nov 03 '16 at 09:16
1 Answers
0
You can set CONTROL_EFFECT_MODE like this:
mPreviewRequestBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, CaptureRequest.CONTROL_EFFECT_MODE_SEPIA);

Savas Adar
- 4,083
- 3
- 46
- 54