facebookarchive / AICamera

Demonstration of using Caffe2 inside an Android application.
Other
348 stars 135 forks source link

AICamera

AICamera is a demo app that was displayed at Facebook's F8 event. The previous version (also on this repo) was getting quite old and attempted to demonstrate a build system that happened inside Android Studio. This led to some hacky techniques and I decided to rewrite the demo with a prebuilt Caffe2 library (which can be built using build_android.sh in the Caffe2 source).

example

Download

git clone https://github.com/caffe2/AICamera.git

Build

Click the green play button in Android Studio 3.0.1 and everything should build :)

Tests

Device Network FPS
Samsung Galaxy S7 SqueezeNet 5.8
Google Pixel SqueezeNet 5.7

License

Please see the LICENSE file in the root directory the source tree.