vendor: OpenCV 5.0.0 snapshot at 755e50675d97db9b7d449d8bd6b09888646f6c6e

This commit is contained in:
Gitea Mirror Bot
2026-08-22 00:11:13 +08:00
commit 12022378a3
3872 changed files with 2513409 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Tesseract OCR
ocv_check_modules(Tesseract tesseract) # lept is excluded (not a direct dependency)
if(NOT Tesseract_FOUND)
find_path(Tesseract_INCLUDE_DIR tesseract/baseapi.h
HINTS
/usr/include
/usr/local/include)
find_library(Tesseract_LIBRARY NAMES tesseract
HINTS
/usr/lib
/usr/local/lib)
find_library(Lept_LIBRARY NAMES lept
HINTS
/usr/lib
/usr/local/lib)
if(Tesseract_INCLUDE_DIR AND Tesseract_LIBRARY AND Lept_LIBRARY)
set(Tesseract_INCLUDE_DIRS ${Tesseract_INCLUDE_DIR})
set(Tesseract_LIBRARIES ${Tesseract_LIBRARY} ${Lept_LIBRARY})
set(Tesseract_FOUND 1)
endif()
endif()