Add tesseract-languages version 4.0.0 (#2820)

This commit is contained in:
Richard Kuhnt 2018-12-13 14:10:29 +01:00
parent bb5d1b9097
commit 946f48d9b5
2 changed files with 35 additions and 3 deletions

28
tesseract-languages.json Normal file
View File

@ -0,0 +1,28 @@
{
"homepage": "https://github.com/tesseract-ocr/tessdata_fast",
"license": "Apache-2.0",
"description": "Fast integer versions of trained models for the Tesseract Open Source OCR Engine",
"version": "4.0.0",
"url": [
"https://github.com/tesseract-ocr/tessdata_fast/archive/4.0.0.zip",
"https://github.com/USCDataScience/counterfeit-electronics-tesseract/raw/319a6eeacff181dad5c02f3e7a3aff804eaadeca/Training%20Tesseract/snum.traineddata"
],
"hash": [
"6551f6ac0c8d0f75b1dd0fb9bc005af6b8ecc564db711a0e3b33dad2c7c23dd3",
"36f772980ff17c66a767f584a0d80bf2302a1afa585c01a226c1863afcea1392"
],
"extract_dir": "tessdata_fast-4.0.0",
"notes": [
"This packages has overwritten the 'TESSDATA_PREFIX' environment variable with \"$dir\".",
"After updating \"tesseract\" please run \"scoop reset tesseract-languages\" to update the environment variable!"
],
"depends": "tesseract",
"env_set": {
"TESSDATA_PREFIX": "$dir"
},
"checkver": "github",
"autoupdate": {
"url": "https://github.com/tesseract-ocr/tessdata_fast/archive/$version.zip",
"extract_dir": "tessdata_fast-$version"
}
}

View File

@ -33,10 +33,14 @@
"env_set": {
"TESSDATA_PREFIX": "$persist_dir\\tessdata"
},
"persist": [
"tessdata"
"persist": "tessdata",
"notes": [
"Recognition data files can be installed via \"scoop install tesseract-languages\"",
"or downloaded manually from https://github.com/tesseract-ocr/tessdata_fast"
],
"notes": "Language data files can be downloaded from https://github.com/tesseract-ocr/tessdata",
"suggest": {
"tesseract-languages": "tesseract-languages"
},
"checkver": {
"re": "tesseract-ocr-w32-setup-v(?<version>[\\d.]+).exe",
"url": "https://digi.bib.uni-mannheim.de/tesseract/"