mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-19 07:55:57 -05:00
OpenCV 5 support
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
#undef NO // MacOS macro that can conflict with OpenCV
|
||||
#include <cstddef>
|
||||
#include <opencv2/opencv.hpp>
|
||||
#if CV_VERSION_MAJOR >= 5
|
||||
#include <opencv2/xobjdetect.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef OCR_SUPPORT
|
||||
#include <tesseract/baseapi.h>
|
||||
|
||||
Reference in New Issue
Block a user