{
    "version": "3.05.02-20180621",
    "description": "Tesseract. An open-source OCR Engine (version 3)",
    "homepage": "https://github.com/UB-Mannheim/tesseract/wiki",
    "license": "Apache-2.0",
    "notes": [
        "Recognition data files can be installed via \"scoop install tesseract3-languages\"",
        "or downloaded manually from https://github.com/tesseract-ocr/tessdata"
    ],
    "suggest": {
        "tesseract-languages": "tesseract3-languages"
    },
    "url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-setup-3.05.02-20180621.exe#/dl.7z",
    "hash": "26bd9ab1fadf0334a6fb60a45269d87e8a60824df82b7cc74c6d665c0fc1ec0c",
    "bin": [
        "ambiguous_words.exe",
        "classifier_tester.exe",
        "cntraining.exe",
        "combine_tessdata.exe",
        "dawg2wordlist.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"
    },
    "persist": "tessdata",
    "post_install": [
        "$langdir = versiondir tesseract3-languages current $global",
        "if (Test-Path $langdir) {",
        "   Set-EnvVar -Name TESSDATA_PREFIX -Value $langdir -Global:$global",
        "}"
    ]
}
