Skip to content

Commit

Permalink
fix(opencvbuild): add calib3d
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Aug 10, 2023
1 parent 1d4471f commit b0d25df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
# https://docs.opencv.org/3.4/d4/da1/tutorial_js_setup.html
git clone https://github.com/opencv/opencv.git
cd opencv
sed -i "s/white_list = makeWhiteList(\[core, imgproc, objdetect, video, dnn, features2d, photo, calib3d\])/white_list = makeWhiteList([core, imgproc, features2d])/g" ./platforms/js/opencv_js.config.py
sed -i "s/white_list = makeWhiteList(\[core, imgproc, objdetect, video, dnn, features2d, photo, calib3d\])/white_list = makeWhiteList([core, imgproc, features2d, calib3d])/g" ./platforms/js/opencv_js.config.py
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk:2.0.10 emcmake python3 ./platforms/js/build_js.py build_js
- name: Copy OpenCV
Expand Down
2 changes: 1 addition & 1 deletion public/opencv.js

Large diffs are not rendered by default.

0 comments on commit b0d25df

Please sign in to comment.