1 comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 4.8, dynamic library, wchar"
3 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
4 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
6 menuconfig BR2_PACKAGE_TESSERACT_OCR
8 depends on BR2_INSTALL_LIBSTDCPP
9 depends on BR2_TOOLCHAIN_HAS_THREADS
10 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
11 depends on BR2_USE_MMU # fork()
12 depends on !BR2_STATIC_LIBS
13 depends on BR2_USE_WCHAR
14 select BR2_PACKAGE_LEPTONICA
16 Tesseract is an OCR (Optical Character Recognition) engine,
17 It can be used directly, or (for programmers) using an API.
18 It supports a wide variety of languages.
20 https://github.com/tesseract-ocr/tesseract
22 if BR2_PACKAGE_TESSERACT_OCR
24 comment "tesseract-ocr languages support"
26 config BR2_PACKAGE_TESSERACT_OCR_LANG_ENG
29 config BR2_PACKAGE_TESSERACT_OCR_LANG_FRA
32 config BR2_PACKAGE_TESSERACT_OCR_LANG_GER
35 config BR2_PACKAGE_TESSERACT_OCR_LANG_SPA
38 config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM
39 bool "Simplified Chinese"
41 config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA
42 bool "Traditional Chinese"