Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compile aruco to opencv.js

I followed the tutorial to successfully build opencv.js through docker, but the default build does not include aruco. I hope to get support from aruco, what should I do.

Compile aruco to opencv.js

I followed the tutorial to successfully build opencv.js through docker, but the default build does not include aruco. I hope to get support from aruco, what should I do.

git clone https://github.com/opencv/opencv.git

git clone https://github.com/opencv/opencv_contrib.git

opencv/platforms/js/build_js.py -> def get_cmake_cmd add "-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules",

docker run --rm --workdir /code -v "$(get-location):/code" "trzeci/emscripten:sdk-tag-1.38.32-64bit" python ./platforms/js/build_js.py build

If this is not true, what else do I need to do?