Installing the Demo Via Android Studio

To start looking at the Face Capture Demo, we recommend using Android Studio to compile and run the demo on your Android device. To begin using the demo:

  1. In the “src-demo/react_native/face_capture” directory, run “npm install” in a command line window.
  2. In the “src-demo/react_native/face_capture” directory, run “npm run bundle_android” in a command line window.
  3. Start Android Studio.
  4. Open an Existing Project. Navigate to the “src-demo/react_native/face_capture/android” directory in the installer and select it.
  5. Select your connected device in Android Studio and press Run.

Please see the manual for getting started with the API and understanding the demo code.