{"id":21187306,"url":"https://github.com/daijro/psocrcapture","last_synced_at":"2025-04-13T17:51:13.226Z","repository":{"id":174107842,"uuid":"524922363","full_name":"daijro/PsOCRCapture","owner":"daijro","description":"OCR screen capture in native Powershell","archived":false,"fork":false,"pushed_at":"2022-08-16T05:46:29.000Z","size":13,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T06:53:52.595Z","etag":null,"topics":["ocr","ocr-recognition","powershell","screen-capture"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daijro.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-08-15T09:13:13.000Z","updated_at":"2025-03-14T15:14:44.000Z","dependencies_parsed_at":"2023-06-29T15:31:36.106Z","dependency_job_id":null,"html_url":"https://github.com/daijro/PsOCRCapture","commit_stats":null,"previous_names":["daijro/psocrcapture"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daijro%2FPsOCRCapture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daijro%2FPsOCRCapture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daijro%2FPsOCRCapture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daijro%2FPsOCRCapture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daijro","download_url":"https://codeload.github.com/daijro/PsOCRCapture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248758230,"owners_count":21156957,"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":["ocr","ocr-recognition","powershell","screen-capture"],"created_at":"2024-11-20T18:33:44.218Z","updated_at":"2025-04-13T17:51:13.177Z","avatar_url":"https://github.com/daijro.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PowerShell OCR Capture\n\nThis project aims to make use of native Windows 10/11 features to allow users to grab text from the contents of their screen. It uses Snipping Tool/Snip \u0026 Sketch and the Windows 10 OCR engine. Unlike other screen OCR tools, this project does not require any third-party dependencies. This makes it possible to run on restrictive devices, such as work computers.\n\n\u003chr width=50\u003e\n\n### In Action\n\n![preview](https://user-images.githubusercontent.com/72637910/184614565-1a550bd6-80fd-4d8a-8a92-fcec9d7509d3.gif)\n\n\n##### Includes:\n- Launches screen capture with \"Capture\" button, and waits for image to copy to clipboard. Old clipboard contents are restored.\n- Upscaling, extending, and centering images for better results. Supports capturing small pieces of text.\n- Detecting whether to use Snipping Tool (Windows 10) or Snip \u0026 Sketch (Windows 11)\n- Includes a \"Copy\" button to copy contents of the text field\n- Window will hide when capturing text\n- Runs *fast*\n- Error handling\n\n\u003chr width=50\u003e\n\n### Usage\n\nSelect a region of your screen to scan with the \"Capture\" button. Recognized text will be returned in an input field.\n\nTo run in PowerShell, you will have to set the command execution policy. Simply paste this into a PowerShell instance:\n\n```powershell\nSet-ExecutionPolicy Bypass -Scope Process -Force; ./PsOCRCapture.ps1\n```\n\nTo run without setting the PowerShell script execution policy, simply download and run [`PsOCRCapture.minified.bat`](https://raw.githubusercontent.com/daijro/PsOCRCapture/main/PsOCRCapture.minified.bat)\n\n---\n\n### Credits\n\nThe code behind this tool was inspired by [this reference](https://github.com/HumanEquivalentUnit/PowerShell-Misc/blob/master/Get-Win10OcrTextFromImage.ps1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaijro%2Fpsocrcapture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaijro%2Fpsocrcapture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaijro%2Fpsocrcapture/lists"}