{
    "version": "4.1.0-elag2019",
    "description": "Tesseract. An open-source OCR Engine (version 4)",
    "homepage": "https://github.com/UB-Mannheim/tesseract/wiki",
    "license": "Apache-2.0",
    "notes": [
        "Recognition data files can be installed via \"scoop install tesseract4-languages\"",
        "or downloaded manually from https://github.com/tesseract-ocr/tessdata_fast"
    ],
    "suggest": {
        "tesseract-languages": "versions/tesseract4-languages"
    },
    "architecture": {
        "64bit": {
            "url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v4.1.0-elag2019.exe#/dl.7z",
            "hash": "75b8a8b8d458a01d675f9493a67b22225cc6f71b13c20e8337a155aa0b403510"
        },
        "32bit": {
            "url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v4.1.0-elag2019.exe#/dl.7z",
            "hash": "082cd4b852f512cff544721df109721188667f84c383782d6828e6cba844db4b"
        }
    },
    "post_install": [
        "$langdir = versiondir tesseract4-languages current $global",
        "if (Test-Path $langdir) {",
        "   Set-EnvVar -Name TESSDATA_PREFIX -Value $langdir -Global:$global",
        "}"
    ],
    "env_set": {
        "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"
}
