0

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.

Gurpreet
  • 27
  • 4
  • you can check out android effectFactory https://developer.android.com/reference/android/media/effect/EffectFactory.html – uelordi Nov 03 '16 at 09:16

1 Answers1

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