build fixes for emscripten 3.1.45

This commit is contained in:
Stefan Dragnev 2023-09-18 15:38:31 +02:00
parent f9a59f2592
commit 9b5a719d80
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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;