{"id":19304532,"url":"https://github.com/ashish493/alphanumeric_recognition","last_synced_at":"2026-04-26T08:34:33.561Z","repository":{"id":52990249,"uuid":"301106476","full_name":"ashish493/alphanumeric_recognition","owner":"ashish493","description":"A Flask Web App for alphanumeric character recognition using a CNN trained on the EMNIST dataset with OpenCV preprocessing for inputs.","archived":false,"fork":false,"pushed_at":"2025-08-09T17:27:35.000Z","size":77936,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T19:14:07.914Z","etag":null,"topics":["deep-learning","emnist","flask","image-recognition"],"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/ashish493.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-04T10:59:09.000Z","updated_at":"2025-08-09T17:27:38.000Z","dependencies_parsed_at":"2022-09-08T03:21:23.806Z","dependency_job_id":null,"html_url":"https://github.com/ashish493/alphanumeric_recognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashish493/alphanumeric_recognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish493%2Falphanumeric_recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish493%2Falphanumeric_recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish493%2Falphanumeric_recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish493%2Falphanumeric_recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashish493","download_url":"https://codeload.github.com/ashish493/alphanumeric_recognition/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashish493%2Falphanumeric_recognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32290752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: 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":["deep-learning","emnist","flask","image-recognition"],"created_at":"2024-11-09T23:30:04.803Z","updated_at":"2026-04-26T08:34:33.533Z","avatar_url":"https://github.com/ashish493.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alphanumeric Recognition\r\n\r\n[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/ashish493/alphanumeric_recognition/issues)\r\n   \r\n\u003cp align=\"center\"\u003e\r\n    \u003cimg width=\"500\" height=\"auto\" src=\"images/logo.jpg\" alt=\"Alphanumeric Logo\" /\u003e\r\n\u003c/p\u003e\r\n   \r\nAplhanumeric Recognition is a web application for detecting handwritten characters as well as digits, which is trained on the EMNIST dataset. \r\n\r\n**Installation**\r\n\r\n1. Clone the Repo:-\r\n\r\n  ```git clone https://github.com/ashish493/alphanumeric_recognition.git```\r\n\r\n2. Install the dependencies:-\r\n\r\n  ```pip install -r requirements.txt```\r\n\r\n3. Run the flask server in the app directory:-\r\n\r\n  ```python -m flask run```\r\n\r\n\u003e Note: We recommend installing the application in a [virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#installing-virtualenv) to prevent conflicts with other projects or packages.\r\n\r\nIf u want to train the [dataset](https://www.nist.gov/itl/products-and-services/emnist-dataset) yourself, then simply run:-\r\n\r\n  ``` python cnn_train.py```\r\n\r\n**Demo**\r\n\r\nBecause of the larger slug size, I was not able to host on Heroku. If anyone knows a better hosting site for deployment, u can simply create a issue.\r\n\r\n```\r\n-----\u003e Discovering process types\r\n       Procfile declares types -\u003e (none)\r\n-----\u003e Compressing...\r\n !     Compiled slug size: 731M is too large (max is 500M).\r\n !     See: http://devcenter.heroku.com/articles/slug-size\r\n !     Push failed\r\n```\r\nMeanwhile, I have attached some screenshots of application, after running the server locally.\r\n\r\n![flask_host](images/localhost.png)\r\n\r\nOutputs\r\n\r\n![prediction for 2](images/predict_2.png)\r\n![prediction for H](images/predict_h.png)\r\n\r\n**Deployment Options**\r\n\r\nI have provided the ```Dockerfile``` in the [repo](https://github.com/ashish493/alphanumeric_recognition/blob/master/Dockerfile). U can manually build it to get the ```Dockerimage``` and then deploy it on the cloud or on your respective server. \r\n\r\n**How to Contribute**\r\n\r\nSince this is a very new project, I would really love your input whether it's :- \r\n- Reporting a bug\r\n- Discussing the current state of the code\r\n- Submitting a fix\r\n- Proposing new features\r\n- PR from the To-Do section \r\n\r\nFor bugs,discussions or propasing features, simply open/raise an Issue. \r\n\r\nFor PR's of fixes or new features describe about the fix or feature and then add a screenshot of the working output. \r\n\r\n**To-Do/Future Improvements**\r\n- Hyperparameter optimization \r\n- Neural network pruning \r\n- Displaying top-n predictions \r\n- Load balancer in a cluster \r\n- Add correction and submit options \r\n- Improving the frontend web design\r\n\r\n\r\n\r\n**Acknowledgements**\r\n\r\n- My model is based on [this](https://github.com/Giffy/AI_EMNIST-character-recognition/blob/master/EMNIST_byClass_GPU_.ipynb) notebook.\r\n\r\n- I took the logo from [this](https://omar-quiambao.squarespace.com/identity/fkjm6v8od4iekqn9hajd07vxtxuzwp) website.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish493%2Falphanumeric_recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashish493%2Falphanumeric_recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashish493%2Falphanumeric_recognition/lists"}