Android ndk camera2 api

can anyone give a short example on how to bind camera frames using NDK, C ++ Camera 2 api?

I couldn't find any meaningful resources there as it was a completely new API, however, would appreciate any help.

Thank!

+3


source to share


2 answers


I found a good example of using camera2 from C ++ here: https://github.com/justinjoy/native-camera2



Easy to follow and I got it up and running in a few minutes.

+4


source


There are no sample apps yet, but you can check out the basic compliance test for the Camera2 NDK API:



https://android.googlesource.com/platform/cts/+/master/tests/camera/libctscamera2jni/native-camera-jni.cpp

+1


source







All Articles