{"id":17688096,"url":"https://github.com/sveinbjornt/ochre","last_synced_at":"2025-08-09T15:23:36.851Z","repository":{"id":141774057,"uuid":"559006504","full_name":"sveinbjornt/ochre","owner":"sveinbjornt","description":"Built-in macOS optical character recognition via the command line","archived":false,"fork":false,"pushed_at":"2024-12-06T18:50:08.000Z","size":100,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-13T00:46:14.168Z","etag":null,"topics":["command-line-tool","macos","ocr","optical-character-recognition"],"latest_commit_sha":null,"homepage":"https://sveinbjorn.org/ochre","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sveinbjornt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"custom":["https://paypal.me/sveinbjornt","sveinbjorn.org/donations"]}},"created_at":"2022-10-28T20:04:12.000Z","updated_at":"2025-04-30T07:16:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"96767971-ed81-4296-9d37-0e2eee15d506","html_url":"https://github.com/sveinbjornt/ochre","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveinbjornt%2Fochre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveinbjornt%2Fochre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveinbjornt%2Fochre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveinbjornt%2Fochre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sveinbjornt","download_url":"https://codeload.github.com/sveinbjornt/ochre/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850874,"owners_count":21973671,"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","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":["command-line-tool","macos","ocr","optical-character-recognition"],"created_at":"2024-10-24T11:43:24.636Z","updated_at":"2025-05-13T00:46:18.738Z","avatar_url":"https://github.com/sveinbjornt.png","language":"Objective-C","funding_links":["https://paypal.me/sveinbjornt","sveinbjorn.org/donations"],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![Language](https://img.shields.io/badge/language-objective--c-lightgrey)]()\n[![Release](https://shields.io/github/v/release/sveinbjornt/ochre?display_name=tag)]()\n[![Build](https://github.com/sveinbjornt/ochre/actions/workflows/macos.yml/badge.svg)]()\n\n# ochre\n\n\u003cimg src=\"icon.png\" width=\"168\" height=\"168\" alt=\"ochre\" style=\"float: right; margin-left: 20px; margin-bottom: 20px;\" align=\"right\"\u003e\n\n*This project is a work in progress. Nothing works. Links are broken. Binaries still unavailable.*\n\n### macOS optical character recognition via the command line\n\n`ochre` is a command line interface for the built-in **o**ptical **ch**aracter **re**cognition (OCR) \ncapabilities in macOS. As of macOS BLABLA, Apple's operating system ships with excellent OCR. This \nis an attempt to expose this functionality via the command line.\n\nSee the [man page](https://sveinbjorn.org/files/manpages/ochre.1.html) for further details.\n\n## Download\n\n`ochre` is free, open source software written in Objective-C using the Cocoa APIs.\nThe code is freely [available on GitHub](https://github.com/sveinbjornt/ochre).\n\n* **[⇩ Download ochre 0.1.0](https://sveinbjorn.org/files/software/ochre.zip)** \n(Intel/ARM 64-bit, macOS 10.15 or later, ~50 KB)\n\n## Installation\n\nAfter downloading and expanding the archive, change to the resulting directory and run\nthe following command:\n\n```bash\nbash install.sh\n```\n\nThis will install the binary into `/usr/local/bin` and the man page into\n`/usr/local/share/man/man1/`.\n\n## Usage\n\n```bash\nochre path/to/image_with_english_text.png\n```\n\n```bash\nochre -l fr-FR path/to/image_with_french_text.jpg\n```\n\n## Build\n\nTo build `ochre` from source, run the following command from the repository root\n(requires Xcode command line build tools):\n\n```bash\nmake build_unsigned\n```\n\nThe resulting binary is created in `products/`.\n\n## Test\n\nTo run tests on the built command line tool, execute the following command from the repository root:\n\n```bash\nbash test/test.sh\n```\n\n## BSD License \n\nCopyright (c) 2022-2025 Sveinbjorn Thordarson  \n\u0026lt;[sveinbjorn@sveinbjorn.org](mailto:sveinbjorn@sveinbjorn.org)\u0026gt;  \nCopyright (c) 2020 David Phillip Oster\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this\nlist of conditions and the following disclaimer in the documentation and/or other\nmaterials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its contributors may\nbe used to endorse or promote products derived from this software without specific\nprior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\nIN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\nINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\nWHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveinbjornt%2Fochre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsveinbjornt%2Fochre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveinbjornt%2Fochre/lists"}