Camera2 API support


Camera2 (added in Android Lollipop) and affdex seem to not be good friends, the old camera api is deprecated as of 3 years ago.

Currently the Android Affectiva SDK supports NV21 and RGBA color formats, both of which are not supported by the camera2 api, as per Camera2 API docs

Would love to see support for the camera2 API and might I even say a working sample :wink:


sorry for the late reply… good suggestion, I will add this to our internal backlog.

I assume that you would be looking for YUV_420_888 color format support?


I guess any camera2 color should do.