Recompile the library with caffe2 in pytorch stable(1.0) and re-implement the AICamera example provided by caffe2 officially.
https://github.com/wangnamu/AICamera_new
-
code based on https://github.com/caffe2/AICamera
-
successfully built on Android Studio 3.2.1
-
Successfully tested at Samsung Galaxy S6
-
run the example
git clone https://github.com/wangnamu/AICamera_new.git
unzip libs.zip in the root directory to get the static libraries
create a folder named armeabi-v7a in AICamera/app/src/main/jni
copy the static libraries to AICamera/app/src/main/jni/armeabi-v7a
open AICamera project with android studio