git clone https://github.com/kakukogou/opencvjs_demo_segmentation.git cd opencvjs_demo_segmentation cd emscripten_build
In Makefile, assign the OPENCV_INSTALL_DIR to your local path.
OPENCV_INSTALL_DIR=<your_opencvjs_local_repository>/release_asm/install
make make install
Open your Firefox and load opencvjs_demo_segmentation/Demo_Segmentation_WebAPP/index.html