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

build fixes for emscripten 3.1.45
This commit is contained in:
Alexander Smorkalov 2023-09-19 08:09:18 +03:00 committed by GitHub
commit 8f2e6640e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;