To build the app you should have OpenCV library. You can download OpenCV library for Android from here. More on OpenCV for Android can be found here.
Before building the app make sure to export OPENCV_DIR environment variable by the following command.
echo 'export OPENCV_DIR=~/OpenCV-android-sdk/sdk/native/jni' >> $HOME/.zshrc