Merge pull request #19162 from alalek:backport_18985

This commit is contained in:
Alexander Alekhin
2020-12-18 20:29:49 +00:00
3 changed files with 15 additions and 4 deletions
@@ -131,6 +131,13 @@ Building OpenCV.js from Source
emcmake python ./opencv/platforms/js/build_js.py build_js --build_test
@endcode
-# [optional] To enable OpenCV contrib modules append `--cmake_option="-DOPENCV_EXTRA_MODULES_PATH=/path/to/opencv_contrib/modules/"`
For example:
@code{.bash}
python ./platforms/js/build_js.py build_js --cmake_option="-DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules"
@endcode
Running OpenCV.js Tests
---------------------------------------