blob: 3afaca771a9387ce1962d6b6cdba65af65a9f110 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 4.8, dynamic library, wchar"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || 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_4_8 # C++11
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
|