{"id":19119756,"url":"https://github.com/wintermi/ocr-runner","last_synced_at":"2025-05-05T15:26:01.993Z","repository":{"id":174669630,"uuid":"652507603","full_name":"wintermi/ocr-runner","owner":"wintermi","description":"OCR Runner - Command Line Application for processing image files using Google Cloud Vision API and Google Cloud Document AI.","archived":false,"fork":false,"pushed_at":"2025-04-18T12:18:37.000Z","size":279,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T00:26:17.247Z","etag":null,"topics":["cloud-vision","cloud-vision-api","document-ai","google-cloud","google-cloud-platform"],"latest_commit_sha":null,"homepage":"","language":"Go","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/wintermi.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,"zenodo":null}},"created_at":"2023-06-12T08:04:39.000Z","updated_at":"2025-04-18T12:18:41.000Z","dependencies_parsed_at":"2024-07-22T17:48:53.516Z","dependency_job_id":"81f63e38-765c-46e0-8bcc-afd1cd8f5b00","html_url":"https://github.com/wintermi/ocr-runner","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"260253992d563bc214135c11ffb944ff44d28b99"},"previous_names":["wintermi/ocr-runner"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintermi%2Focr-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintermi%2Focr-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintermi%2Focr-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wintermi%2Focr-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wintermi","download_url":"https://codeload.github.com/wintermi/ocr-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252523144,"owners_count":21761863,"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":["cloud-vision","cloud-vision-api","document-ai","google-cloud","google-cloud-platform"],"created_at":"2024-11-09T05:11:00.227Z","updated_at":"2025-05-05T15:26:01.973Z","avatar_url":"https://github.com/wintermi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCR Runner\n\n[![Workflows](https://github.com/wintermi/ocr-runner/workflows/Go%20-%20Build/badge.svg)](https://github.com/wintermi/ocr-runner/actions)\n[![Go Report](https://goreportcard.com/badge/github.com/wintermi/ocr-runner)](https://goreportcard.com/report/github.com/wintermi/ocr-runner)\n[![License](https://img.shields.io/github/license/wintermi/ocr-runner)](https://github.com/wintermi/ocr-runner/blob/main/LICENSE)\n[![Release](https://img.shields.io/github/v/release/wintermi/ocr-runner?include_prereleases)](https://github.com/wintermi/ocr-runner/releases)\n\n\n## Description\n\nA command line application designed to recursively walk through the input path submitting all image files for optical character recognition (OCR) via either the Google Cloud Vision API or a Google Cloud Document AI processor if a prediction endpoint is provided.  The application will then output the image information and annotations to a single newline delimited JSON File.\n\n```\nUSAGE:\n    ocr-runner -i PATH -o FILE\n\nARGS:\n  -endpoint string\n        Document AI Prediction Endpoint  (Optional)\n  -full\n        Output full details to JSON\n  -i string\n        Input Path  (Required)\n  -o string\n        Output File  (Required)\n  -verbose\n        Display verbose or debug detail\n```\n\n## Valid File Extensions\n\nThe application will automatically filter out all files that do not have one of the following extensions:\n\n- `.bmp`\n- `.gif`\n- `.jpg`\n- `.jpeg`\n- `.pdf`\n- `.png`\n- `.tif`\n- `.tiff`\n- `.webp`\n\n## License\n\n**ocr-runner** is released under the [Apache License 2.0](https://github.com/wintermi/ocr-runner/blob/main/LICENSE) unless explicitly mentioned in the file header.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintermi%2Focr-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwintermi%2Focr-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwintermi%2Focr-runner/lists"}