{"id":20333700,"url":"https://github.com/davidegalilei/nimtesseract","last_synced_at":"2025-10-10T03:05:56.324Z","repository":{"id":55404553,"uuid":"444069154","full_name":"DavideGalilei/nimtesseract","owner":"DavideGalilei","description":"A Tesseract OCR wrapper for Nim","archived":false,"fork":false,"pushed_at":"2022-10-23T07:38:35.000Z","size":11369,"stargazers_count":34,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T16:20:40.319Z","etag":null,"topics":["nim","ocr","ocr-recognition","tesseract","text","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DavideGalilei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-03T13:23:12.000Z","updated_at":"2025-04-04T06:19:14.000Z","dependencies_parsed_at":"2023-01-20T08:46:17.715Z","dependency_job_id":null,"html_url":"https://github.com/DavideGalilei/nimtesseract","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/DavideGalilei/nimtesseract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavideGalilei%2Fnimtesseract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavideGalilei%2Fnimtesseract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavideGalilei%2Fnimtesseract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavideGalilei%2Fnimtesseract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavideGalilei","download_url":"https://codeload.github.com/DavideGalilei/nimtesseract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavideGalilei%2Fnimtesseract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002550,"owners_count":26083417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nim","ocr","ocr-recognition","tesseract","text","wrapper"],"created_at":"2024-11-14T20:32:56.111Z","updated_at":"2025-10-10T03:05:56.292Z","avatar_url":"https://github.com/DavideGalilei.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003ch1\u003eNim Tesseract 👑👁\u003c/h1\u003e\u003c/div\u003e\n\n![banner](/assets/banner.jpg)\nNim Tesseract is a Nim wrapper for the [Tesseract](https://github.com/tesseract-ocr/tesseract/) OCR library, via its dynamic library.\n\n## Installation 👇\n```bash\n$ nimble install nimtesseract\n```\n\n## Usage 🌷\n1. Install (lib)tesseract via your package manager or put the tesseract so/dll/dylib file in the project directory\nE.g. for Arch Linux:\n```bash\n$ pacman -Sy tesseract\n```\n\nfor macOS:\n```bash\n$ brew install tesseract\n```\n\n2. Download trained data from https://github.com/tesseract-ocr/tessdata or https://github.com/tesseract-ocr/tessdata_fast\n3. Done ✅\n\n## Example 🤔\n```nim\nimport nimtesseract\n\necho imageToText(\"file.png\")\n```\nMore examples in the [examples folder](/examples)\n\n## Development 🔩\nDownload trained data and put it into src folder\n\n\u003e ⚠️ Outdated, but still useful. Don't refer to this.\n\u003e ```bash\n\u003e $ cd src\n\u003e $ TESSDATA_PREFIX=$(pwd) nim r -d:pixieUseStb nimtesseract.nim\n\u003e ```\n\nRun tests with nimble:\n```bash\n$ nimble test\n```\n\n`capi.h` reference: https://github.com/tesseract-ocr/tesseract/blob/main/include/tesseract/capi.h\n\n## Credits 👻\nInspired from https://github.com/Altabeh/tesseract-ocr-wrapper\n\n## License 📕\nThis project is under the `Unlicense` license.\nThis is free and unencumbered software released into the public domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidegalilei%2Fnimtesseract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidegalilei%2Fnimtesseract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidegalilei%2Fnimtesseract/lists"}