buildroot/package/tesseract-ocr/Config.in
Gilles Talis df3f0c226f package/tesseract-ocr: bump to version 5.0.1
- Updated language training data version to 4.1.0
- Removed current patch as not required anymore
- Added patch to fix uclibc failures
- Supported C++ version has moved from C++11 to C++17

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-01-09 15:58:45 +01:00

45 lines
1.2 KiB
Plaintext

comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 7, dynamic library, wchar"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
menuconfig BR2_PACKAGE_TESSERACT_OCR
bool "tesseract-ocr"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR
select BR2_PACKAGE_LEPTONICA
help
Tesseract is an OCR (Optical Character Recognition) engine,
It can be used directly, or (for programmers) using an API.
It supports a wide variety of languages.
https://github.com/tesseract-ocr/tesseract
if BR2_PACKAGE_TESSERACT_OCR
comment "tesseract-ocr languages support"
config BR2_PACKAGE_TESSERACT_OCR_LANG_ENG
bool "English"
config BR2_PACKAGE_TESSERACT_OCR_LANG_FRA
bool "French"
config BR2_PACKAGE_TESSERACT_OCR_LANG_GER
bool "German"
config BR2_PACKAGE_TESSERACT_OCR_LANG_SPA
bool "Spanish"
config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM
bool "Simplified Chinese"
config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA
bool "Traditional Chinese"
endif