OpenCV 5 support
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled

This commit is contained in:
Arimil 2026-07-19 13:32:10 -04:00 committed by WarmUpTill
parent 7be2a4f544
commit bf682136c3

View File

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