mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-04 19:48:56 -05:00
OpenCV 5 support
This commit is contained in:
parent
7be2a4f544
commit
bf682136c3
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user