docker run --rm --workdir /src -v "$(get-location):/src" "emscripten/emsdk:2.0.10" emcmake python3 ./platforms/js/build_js.py build_js --cmake_option="-DOPENCV_EXTRA_MODULES_PATH=/path/to/opencv_contrib/modules/"
This command only compiles’ opencv_contrib ‘and will not be attached to the’ opencv.js’ file;
Or what should be configured in the ‘opencv_js. config. py’ file?