{"id":30602353,"url":"https://github.com/seraph-yang/ocr","last_synced_at":"2025-08-30T00:35:45.055Z","repository":{"id":311515331,"uuid":"1043527723","full_name":"seraph-yang/ocr","owner":"seraph-yang","description":"Text detection + text recorgnition using OpenCV, Python, and Tesseract","archived":false,"fork":false,"pushed_at":"2025-08-24T22:59:53.000Z","size":90974,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T01:43:12.407Z","etag":null,"topics":["ocr","opencv","python","tesseract"],"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/seraph-yang.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-24T03:47:14.000Z","updated_at":"2025-08-24T22:59:56.000Z","dependencies_parsed_at":"2025-08-25T01:54:18.354Z","dependency_job_id":null,"html_url":"https://github.com/seraph-yang/ocr","commit_stats":null,"previous_names":["seraph-yang/ocr"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/seraph-yang/ocr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraph-yang%2Focr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraph-yang%2Focr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraph-yang%2Focr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraph-yang%2Focr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seraph-yang","download_url":"https://codeload.github.com/seraph-yang/ocr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraph-yang%2Focr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272788303,"owners_count":24993107,"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-08-29T02:00:10.610Z","response_time":87,"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":["ocr","opencv","python","tesseract"],"created_at":"2025-08-30T00:35:41.371Z","updated_at":"2025-08-30T00:35:45.045Z","avatar_url":"https://github.com/seraph-yang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV OCR\n\nPerforms text detection + text recorgnition using OpenCV, Python, and Tesseract\n\nOCR utilizees an LSTM, a type of RNN\n\n1) Use OpenCV EAST text detector to find text in an image -\u003e gives bounding box coordinates\n2) Extract each of these Region of Interests (ROI) and pass into Tessearct deep learning recognition algorithm\n3) Output gives us OCR results\n4) Draw results on output\n\nTesseract binary needs flags:\n- `-l`: language of input text\n- `-oem`: OCR Engine Mode, controls algorithm used\n- `psm`: Page Segmentation Mode\n\n### Installations\n```\npip install opencv-python numpy pytesseract imutils\n```\n\n### Run\n```\nsource ocr_env/bin/activate\npython text_recognition.py --east frozen_east_text_detection.pb --image images/image1.png\n```\n\nAdding `--padding 0.25` increases the bounding box; larger number means bigger bounding box","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseraph-yang%2Focr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseraph-yang%2Focr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseraph-yang%2Focr/lists"}