build fixes for emscripten 3.1.45

pull/24288/head
Stefan Dragnev 1 year ago
parent f9a59f2592
commit 9b5a719d80
  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