mkdir build && cd build
cp ../src/models/haarcascade_frontalface_default.xml .
cp ../src/models/deploy.prototxt .
cp ../src/models/res10_300x300_ssd_iter_140000.caffemodel .
cmake ..
makeTo run the face detection from root directory:
- Navigate to
CMakeLists.txt - Comment out this line
add_executable(Ironvision src/hand_hud.cpp) - Follow the steps above to build
To run the hand detection and finger counting from root directory:
- Navigate to
CMakeLists.txt - Comment out this line
add_executable(Ironvision src/main.cpp) - Follow the steps above to build
To run the desired code from the build directory, run:
./Ironvision