{"id":25267564,"url":"https://github.com/neonwatty/python-ocr-preprocessing","last_synced_at":"2026-02-26T20:46:55.747Z","repository":{"id":243762407,"uuid":"812442061","full_name":"neonwatty/python-ocr-preprocessing","owner":"neonwatty","description":"Learn essential pre-processing techniques for effective Optical Character Recognition (OCR) in Python, including denoising, deskewing, and binarization.","archived":false,"fork":false,"pushed_at":"2025-01-12T02:12:10.000Z","size":3778,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T12:48:17.725Z","etag":null,"topics":["binarization","denoising","deskewing","optical-character-recognition","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/neonwatty.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}},"created_at":"2024-06-08T22:48:50.000Z","updated_at":"2025-07-28T19:50:01.000Z","dependencies_parsed_at":"2025-02-12T09:58:29.061Z","dependency_job_id":"adf62a79-b703-4101-ac5c-b079bbd84ad7","html_url":"https://github.com/neonwatty/python-ocr-preprocessing","commit_stats":null,"previous_names":["jermwatt/ocr_preprocessing","neonwatty/ocr_preprocessing","neonwatty/python-ocr-preprocessing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neonwatty/python-ocr-preprocessing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neonwatty%2Fpython-ocr-preprocessing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neonwatty%2Fpython-ocr-preprocessing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neonwatty%2Fpython-ocr-preprocessing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neonwatty%2Fpython-ocr-preprocessing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neonwatty","download_url":"https://codeload.github.com/neonwatty/python-ocr-preprocessing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neonwatty%2Fpython-ocr-preprocessing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29872658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T18:42:30.764Z","status":"ssl_error","status_checked_at":"2026-02-26T18:41:47.936Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["binarization","denoising","deskewing","optical-character-recognition","python"],"created_at":"2025-02-12T09:47:32.984Z","updated_at":"2026-02-26T20:46:55.728Z","avatar_url":"https://github.com/neonwatty.png","language":"Jupyter Notebook","readme":"\u003ca href=\"https://colab.research.google.com/github/jermwatt/ocr_preprocessing/blob/main/ocr_preprocessing_walkthrough.ipynb\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\u003c/a\u003e   \u003ca href=\"https://www.youtube.com/watch?v=E9bbgJUyGQs\" target=\"_parent\"\u003e\u003cimg src=\"https://badges.aleen42.com/src/youtube.svg\" alt=\"Youtube\"/\u003e\u003c/a\u003e\n\n\n# Learn OCR pre-processing: denoising, deskewing, binarization, and more in Python\n\nExplore the commonly overlooked pre-processing steps that help make Optical Character Recognition (OCR) models work properly in practice.\n\nThis repository contains code, a walkthrough notebook (`ocr_preprocessing_walkthrough.ipynb`), and streamlit demo app for playing around with common ocr pre-processing steps, and seeing their resulting effects on ocr quality.\n\nAll processing - from the various pre-processing steps to the ocr itself (here using the popular / classic [tesseract](https://github.com/tesseract-ocr/tesseract) model - are performed locally.\n\n\n## Installation instructions\n\nTo create a handy tool for your own memes pull the repo and install the requirements file\n\n```python\npip install -r requirements.txt\n```\n\n## Starting the streamlit app\n\nStart the streamlit app by pasting the following in your terminal\n\n```python\npython -m streamlit run ocr/app.py\n```\n\n##  Ocr your own images\n\nNote: you can drag and drop any desired image directly into the streamlit app, and play around with how pre-processing steps effect the final ocr output.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneonwatty%2Fpython-ocr-preprocessing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneonwatty%2Fpython-ocr-preprocessing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneonwatty%2Fpython-ocr-preprocessing/lists"}