mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|