-
-
Notifications
You must be signed in to change notification settings - Fork 970
/
tesseract.json
60 lines (60 loc) · 1.99 KB
/
tesseract.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"version": "5.4.0.20240606",
"description": "Open Source OCR Engine",
"homepage": "https://github.com/UB-Mannheim/tesseract/wiki",
"license": "Apache-2.0",
"notes": [
"Recognition data files can be installed via \"scoop install tesseract-languages\"",
"or downloaded manually from https://github.com/tesseract-ocr/tessdata_fast"
],
"suggest": {
"tesseract-languages": "tesseract-languages"
},
"architecture": {
"64bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.4.0.20240606.exe#/dl.7z",
"hash": "c885fff6998e0608ba4bb8ab51436e1c6775c2bafc2559a19b423e18678b60c9"
}
},
"pre_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse",
"post_install": [
"$langdir = versiondir tesseract-languages current $global",
"if (Test-Path $langdir) {",
" Set-EnvVar -Name TESSDATA_PREFIX -Value $langdir -Global:$global",
"}"
],
"env_set": {
"SCROLLVIEW_PATH": "$persist_dir\\tessdata",
"TESSDATA_PREFIX": "$persist_dir\\tessdata"
},
"bin": [
"ambiguous_words.exe",
"classifier_tester.exe",
"cntraining.exe",
"combine_lang_model.exe",
"combine_tessdata.exe",
"dawg2wordlist.exe",
"lstmeval.exe",
"lstmtraining.exe",
"merge_unicharsets.exe",
"mftraining.exe",
"set_unicharset_properties.exe",
"shapeclustering.exe",
"tesseract.exe",
"text2image.exe",
"unicharset_extractor.exe",
"wordlist2dawg.exe"
],
"persist": "tessdata",
"checkver": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/?C=M;O=D",
"regex": "tesseract-ocr-w64-setup-([\\d.]+)\\.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-$version.exe#/dl.7z"
}
}
}
}