{"id":15690744,"url":"https://github.com/edsu/ocropy","last_synced_at":"2025-09-03T22:38:24.877Z","repository":{"id":1091702,"uuid":"946455","full_name":"edsu/ocropy","owner":"edsu","description":"minimalist wrapper around ocropus for generating hOCR documents from images","archived":false,"fork":false,"pushed_at":"2010-09-28T20:27:41.000Z","size":656,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T22:18:19.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edsu.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-28T19:38:06.000Z","updated_at":"2025-03-20T01:05:25.000Z","dependencies_parsed_at":"2022-08-16T12:00:36.290Z","dependency_job_id":null,"html_url":"https://github.com/edsu/ocropy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edsu/ocropy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Focropy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Focropy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Focropy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Focropy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edsu","download_url":"https://codeload.github.com/edsu/ocropy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edsu%2Focropy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273523404,"owners_count":25120862,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-03T18:15:05.555Z","updated_at":"2025-09-03T22:38:24.851Z","avatar_url":"https://github.com/edsu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ocropy is a minimal wrapper around the optical character recognition software\nocropus [1] for doing quick and dirty OCR jobs. It converts TIFF, JPEG and \nPNG images to grayscale before attempting to do the ocr, and internally \nhandles some temporary files for you.\n\nUsage:\n\n  import ocropy\n  hocr = ocropy.hocr(\"image.png\")\n\nIf you would like to further process the image, and don't want to go through\nthe effort of reading it again you can get the PIL Image object that was \nused to convert the image to grayscale:\n\n  hocr, image = hocr_with_image(\"page.png\")\n\nAnd you can pass it a URL for an image if that's more convenient:\n\n  hocr = ocropy.hocr(\"http://example.com/image.tif\")\n\n\nRequirements:\n\n* ocropus (available to ubuntu systems w/ apt-get)\n* PIL\n\n\nLicense:\n\nPublic Domain \u003chttp://creativecommons.org/licenses/publicdomain/\u003e\n\n\nContributors:\n\nEd Summers \u003cehs@pobox.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Focropy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedsu%2Focropy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedsu%2Focropy/lists"}