git clone https://github.com/kakukogou/opencvjs_demo_facedetection.git cd opencvjs_demo_facedetection 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_FaceDetection_WebAPP_imageData/index.html
- Demo_FaceDetection_WebAPP_imageBitmap is not supported by any released browser now. It is an experimental feature of Mozilla Firefox.