ScoopInstaller_Main/bucket/tesseract.json
2021-12-01 16:00:35 +00:00

67 lines
2.3 KiB
JSON

{
"version": "5.0.0.20211201",
"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-v5.0.0.20211201.exe#/dl.7z",
"hash": "b7727a49b91f749320ce7d50051dec3f0395abdea0f76a8f0a1c468b23473c88"
},
"32bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v5.0.0.20211201.exe#/dl.7z",
"hash": "dc7fd52497d93445dc41776e83d67ad35e2f5c4cabf6ca9abc052ee01352700e"
}
},
"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"
],
"env_set": {
"TESSDATA_PREFIX": "$persist_dir\\tessdata",
"SCROLLVIEW_PATH": "$persist_dir\\tessdata"
},
"persist": "tessdata",
"post_install": [
"$langdir = versiondir tesseract-languages current $global",
"if (Test-Path $langdir) {",
" env \"TESSDATA_PREFIX\" $global $langdir",
"}"
],
"checkver": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/?C=M;O=D",
"regex": "tesseract-ocr-w32-setup-v([\\w.-]+)\\.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v$version.exe#/dl.7z"
},
"32bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v$version.exe#/dl.7z"
}
}
}
}