{"id":13995133,"url":"https://github.com/insidegui/ocrit","last_synced_at":"2026-02-25T22:31:43.005Z","repository":{"id":40423381,"uuid":"489076257","full_name":"insidegui/ocrit","owner":"insidegui","description":"Simple command-line utility for performing OCR using Apple's Vision framework","archived":false,"fork":false,"pushed_at":"2025-02-15T11:48:17.000Z","size":140,"stargazers_count":169,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-22T09:26:25.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insidegui.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-05T17:59:12.000Z","updated_at":"2025-12-13T15:29:54.000Z","dependencies_parsed_at":"2024-12-12T23:23:18.068Z","dependency_job_id":"87ee42cd-7be7-4913-822d-a99b95cf5451","html_url":"https://github.com/insidegui/ocrit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/insidegui/ocrit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Focrit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Focrit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Focrit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Focrit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insidegui","download_url":"https://codeload.github.com/insidegui/ocrit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insidegui%2Focrit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29843412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T21:18:31.832Z","status":"ssl_error","status_checked_at":"2026-02-25T21:18:29.265Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-08-09T14:03:15.923Z","updated_at":"2026-02-25T22:31:42.990Z","avatar_url":"https://github.com/insidegui.png","language":"Swift","readme":"# ocrit\n\nRuns Vision's OCR on input images or PDF files and outputs corresponding `txt` files for each image, or writes the recognized results to standard output.\n\n```\nUSAGE: ocrit [\u003cimage-paths\u003e ...] [--output \u003coutput\u003e] [--language \u003clanguage\u003e ...] [--fast]\n\nARGUMENTS:\n  \u003cimage-paths\u003e           Path or list of paths for the images\n\nOPTIONS:\n  -o, --output \u003coutput\u003e   Path to a directory where the txt files will be written to, or - for standard output (default: -)\n  -l, --language \u003clanguage\u003e\n                          Language code to use for the recognition, can be repeated to select multiple languages\n  -f, --fast              Uses an OCR algorithm that prioritizes speed over accuracy\n  -h, --help              Show help information.\n```\n\n## Language Selection\n\nThe `--language` (or `-l`) option can be used to indicate which language or languages will be used for OCR.\n\nMultiple languages can be specified by repeating the option, example:\n\n```\nocrit path/to/image.png -l ko-KR -l en-US\n```\n\nThe order of the languages is important, as Vision's OCR engine will attempt to perform OCR using the languages in order. In my experience, if you have an image or document that contains a mix of English and some other language, it's best to specify `en-US` as the **last** language on the list.\n\n### Supported Languages\n\nLanguage support varies with the version of macOS and whether or not the `--fast` flag is specified.\n\nThis is the current list of supported languages as of macOS 14.4:\n\n```\nen-US, fr-FR, it-IT, de-DE, es-ES, pt-BR, zh-Hans, zh-Hant, yue-Hans, yue-Hant, ko-KR, ja-JP, ru-RU, uk-UA, th-TH, vi-VT\n```\n\nThis is the current list of supported languages as of macOS 14.4, with the `--fast` flag enabled:\n\n```\nen-US, fr-FR, it-IT, de-DE, es-ES, pt-BR\n```","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsidegui%2Focrit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsidegui%2Focrit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsidegui%2Focrit/lists"}