From bf682136c3faea76f62d14a6fb875da4ed7d1dd8 Mon Sep 17 00:00:00 2001 From: Arimil Date: Sun, 19 Jul 2026 13:32:10 -0400 Subject: [PATCH] OpenCV 5 support --- plugins/video/opencv-helpers.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/video/opencv-helpers.hpp b/plugins/video/opencv-helpers.hpp index 9ed6a95a..b778f68d 100644 --- a/plugins/video/opencv-helpers.hpp +++ b/plugins/video/opencv-helpers.hpp @@ -3,6 +3,9 @@ #undef NO // MacOS macro that can conflict with OpenCV #include #include +#if CV_VERSION_MAJOR >= 5 +#include +#endif #ifdef OCR_SUPPORT #include