Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 354 Bytes

readme.md

File metadata and controls

4 lines (4 loc) · 354 Bytes

To build the project

Go to root directory

Make sure you do have emscripten installed on your machine

Run the command - emcc -O3 -I ./dlib ./src/face-detection.cpp ./dlib/dlib/all/source.cpp -s ASSERTIONS=1 -s TOTAL_MEMORY=1024MB -s TOTAL_STACK=512mb -s "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']" -s WASM=1 -o ./build/dlib-wasm-test.js