Merge pull request #24288 from tailsu:sd/emscripten-3.1.45-fixes

build fixes for emscripten 3.1.45
pull/24302/head
Alexander Smorkalov 2 years ago committed by GitHub
commit 8f2e6640e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      modules/core/include/opencv2/core/hal/intrin_wasm.hpp
  2. 2
      modules/js/src/core_bindings.cpp

@ -8,6 +8,7 @@
#include <limits>
#include <cstring>
#include <algorithm>
#include <emscripten/version.h>
#include "opencv2/core/saturate.hpp"
#define CV_SIMD128 1

@ -89,9 +89,11 @@ using namespace cv;
using namespace cv::segmentation; // FIXIT
#ifdef HAVE_OPENCV_OBJDETECT
using namespace cv::aruco;
typedef aruco::DetectorParameters aruco_DetectorParameters;
typedef QRCodeDetectorAruco::Params QRCodeDetectorAruco_Params;
#endif
#ifdef HAVE_OPENCV_DNN
using namespace cv::dnn;

Loading…
Cancel
Save