Merge pull request #22672 from ramasilveyra:docs/remove-dup-v4

* docs: remove duplicated step in Build .js doc

* docs: add missing emcmake prefix to command
pull/22683/head
Ramiro Silveyra d'Avila 2 years ago committed by GitHub
parent e80b443cd9
commit 8e5f37f87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      doc/js_tutorials/js_setup/js_setup/js_setup.markdown

@ -135,14 +135,7 @@ Building OpenCV.js from Source
For example: For example:
@code{.bash} @code{.bash}
python ./platforms/js/build_js.py build_js --cmake_option="-DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules" emcmake python ./platforms/js/build_js.py build_js --cmake_option="-DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules"
@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 @endcode
-# [optional] To enable WebNN backend, append `--webnn` option. -# [optional] To enable WebNN backend, append `--webnn` option.

Loading…
Cancel
Save