Set brightness/contrast in video capture using Android Camera2

岁酱吖の 提交于 2019-12-03 06:11:49

All the configuration that you need should be in CaptureRequest, for example for brightness here.

So, to implement it with the guide you follow, it's in the part 5. of the main steps listed in the readme, you need to use the CaptureRequest.Builder created here to set all the configuration that you want, with CaptureRequest.Builder#set(Key<T> key, T value) and the fields from CaptureRequest !

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!