https://github.com/schappim/macOCR Skip to content Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Project management - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] [search-key] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} schappim / macOCR * Notifications * Star 570 * Fork 10 Get any text on your screen into your clipboard. 570 stars 10 forks Star Notifications * Code * Issues 2 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code Clone HTTPS GitHub CLI [https://github.com/s] Use Git or checkout with SVN using the web URL. [gh repo clone schapp] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @schappim schappim Merge pull request #2 from adam-zethraeus/main ... 1a34214 May 22, 2021 Merge pull request #2 from adam-zethraeus/main Refactor active parts into a Swift Package Manager distribution. Add a CLI wrapper. 1a34214 Git stats * 11 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time Sources/ocr OCR command line script May 22, 2021 .gitignore OCR command line script May 22, 2021 Package.resolved OCR command line script May 22, 2021 Package.swift OCR command line script May 22, 2021 README.md OCR command line script May 22, 2021 screen-recording.gif OCR command line script May 22, 2021 View code macOCR Installation OS Support MIT License README.md macOCR macOCR is a command line app that runs OCR on text on your secreen. By default ocr prints the copied text to the terminal. You can also pass the -c flag to the ocr command to place the text on our clipboard. How it works Installation > git clone git@github.com:adam-zethraeus/macOCR.git > cd macOCR > swift build -c release > .build/release/ocr -h USAGE: ocr [--copy] OPTIONS: -c, --copy Copy OCR text to clipboard -h, --help Show help information. # You can place the binary in a folder in your $PATH > PATH=$PATH:~/bin > cp .build/release/ocr ~/bin When running the app the first time, you will be asked to allow the app access to your screen. Enable it in: System Preferences > Security & Privacy > Privacy > Screen Recording. OS Support The Swift package is enabled for Big Sur / macOS v11. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. About Get any text on your screen into your clipboard. Resources Readme Releases No releases published Packages 0 No packages published Contributors 2 * @schappim schappim Marcus S * @adam-zethraeus adam-zethraeus Adam Zethraeus Languages * Swift 100.0% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.