{"id":19308001,"url":"https://github.com/srijanmukherjee/image-processing-ocr-assignment","last_synced_at":"2026-04-16T18:34:16.119Z","repository":{"id":202745312,"uuid":"707665149","full_name":"srijanmukherjee/image-processing-ocr-assignment","owner":"srijanmukherjee","description":"Performs image smoothening, converting to binary image, generating skeleton of the image for OCR purpose","archived":false,"fork":false,"pushed_at":"2023-10-23T12:22:39.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T03:16:01.812Z","etag":null,"topics":["image-processing","opencv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srijanmukherjee.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":"2023-10-20T11:47:18.000Z","updated_at":"2023-10-23T11:59:26.000Z","dependencies_parsed_at":"2023-10-23T12:32:22.375Z","dependency_job_id":null,"html_url":"https://github.com/srijanmukherjee/image-processing-ocr-assignment","commit_stats":null,"previous_names":["srijanmukherjee/image-processing-ocr-assignment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srijanmukherjee/image-processing-ocr-assignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srijanmukherjee%2Fimage-processing-ocr-assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srijanmukherjee%2Fimage-processing-ocr-assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srijanmukherjee%2Fimage-processing-ocr-assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srijanmukherjee%2Fimage-processing-ocr-assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srijanmukherjee","download_url":"https://codeload.github.com/srijanmukherjee/image-processing-ocr-assignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srijanmukherjee%2Fimage-processing-ocr-assignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271749032,"owners_count":24814110,"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-23T02:00:09.327Z","response_time":69,"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":["image-processing","opencv"],"created_at":"2024-11-10T00:13:18.012Z","updated_at":"2026-04-16T18:34:16.072Z","avatar_url":"https://github.com/srijanmukherjee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image processing for OCR\n\nBasic image processing (smoothening, binarizing, skeletonizing) before using image for OCR\n\n## Instructions\n```bash\n# start virtual environment\npython -m venv env\nsource ./env/bin/activate\n\n# install dependencies\npip install -r requirements.txt\n\n# run the code\npython main.py \u003cimage\u003e\n\n# Example\npython main.py --blur gaussian -k 7 -v dataset/English/E3.png \n\n# Run over all examples in the dataset\npython experiment.py\n```\n\n\u003e **NOTE:** \u003cbr\u003e \n\u003e Minimum python version requirement: **3.10**\n\n### Usage\n```\nusage: main.py [-h] [-v] [-b {average,gaussian,median,bilateral}] [-k KERNEL] [-o OUTPUT] image\n\npositional arguments:\n  image                 path to image\n\noptions:\n  -h, --help            show this help message and exit\n  -v, --verbose         Enable verbose output\n  -b {average,gaussian,median,bilateral}, --blur {average,gaussian,median,bilateral}\n                        Choose blurring techinque\n  -k KERNEL, --kernel KERNEL\n                        set kernel size (must be odd), the kernel will be set as (size x size)\n  -o OUTPUT, --output OUTPUT\n                        output directory\n```\n\n## What does it do?\n\n- Apply image filtering technique to smoothen the image\n    - Average blurring\n    - Gaussian blurring\n    - Median blurring\n    - Bilateral blurring\n- Convert into binary image\n- Skeletonize the image\n- Resize into 64x64 image\n\nThis example demonstrates some basic image processing techinques to be applied before we use the image for processing techniques like OCR.\n\n## References\n- https://pyimagesearch.com/2021/04/28/opencv-smoothing-and-blurring\n- https://scikit-image.org/docs/stable/auto_examples/edges/plot_skeleton.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrijanmukherjee%2Fimage-processing-ocr-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrijanmukherjee%2Fimage-processing-ocr-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrijanmukherjee%2Fimage-processing-ocr-assignment/lists"}