{"id":23542479,"url":"https://github.com/josugoar/digit-recognizer","last_synced_at":"2025-09-12T12:35:29.491Z","repository":{"id":144125554,"uuid":"235434536","full_name":"josugoar/digit-recognizer","owner":"josugoar","description":"Digit recognizer full stack web app and classifier","archived":false,"fork":false,"pushed_at":"2025-08-15T09:59:36.000Z","size":9257,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-20T15:42:01.298Z","etag":null,"topics":["flask","jquery","opencv","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josugoar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","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,"zenodo":null}},"created_at":"2020-01-21T20:24:34.000Z","updated_at":"2025-08-15T09:59:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"13d14efd-3f48-4721-b907-f6c264342c65","html_url":"https://github.com/josugoar/digit-recognizer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/josugoar/digit-recognizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josugoar%2Fdigit-recognizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josugoar%2Fdigit-recognizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josugoar%2Fdigit-recognizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josugoar%2Fdigit-recognizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josugoar","download_url":"https://codeload.github.com/josugoar/digit-recognizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josugoar%2Fdigit-recognizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274814207,"owners_count":25355019,"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-12T02:00:09.324Z","response_time":60,"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":["flask","jquery","opencv","scikit-learn"],"created_at":"2024-12-26T06:13:13.800Z","updated_at":"2025-09-12T12:35:29.432Z","avatar_url":"https://github.com/josugoar.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# digit-recognizer\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/digit-recognizer.png\" alt=\"digit-recognizer\" width=\"640\" height=\"320\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/author-josugoar-blue\" alt=\"author\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-GPL-green\" alt=\"license\"\u003e\n\u003c/p\u003e\n\n\u003ch1\u003e\u003c/h1\u003e\n\n\nHTML, CSS (SCSS/Sass) and JavaScript (jQuery) interactve and responsive front-end UI on top of a Python (Flask, Flask-RESTful, Flask-Caching, Flask-FlatPages, Flask-SQLAlchemy) back-end API and database*, implementing Python (numpy, sklearn, opencv) machine learning model building** and image recognition preprocessing*** via asyncronous encoded requests. Integrated with Git source control.\n\n* \\* Database automatically clears itself up only when the application is booted, therefore it is not adviced to delete stored files whilist the processes are still running.\n\n* ** Predictions are carried out by analyzing individual pixels, which might negatively impact accuracy. More advanced techniques (hog features, stroke sequence...) would result in improved performance.\n\n* *** Preprocessing does not scale image with stroke width, which leads to poorer results as the image size increases.\n\nPopup screen                             |Prediction result\n:---------------------------------------:|:---------------------------------------:\n![popup-screen](assets/popup-screen.png)|![prediction-result](assets/prediction-result.png)\n\n\n## Installation\n\n1. Install [Python \u003e= 3.6](https://www.python.org/downloads/)\n2. Install package manager [pip](https://pip.pypa.io/en/stable/)\n3. Install [virtualenv](https://virtualenv.pypa.io/en/latest/userguide/)\n```sh\n$ pip install virtualenv\n```\n4. Create an environment\n```sh\n$ virtualenv ENV\n```\n5. Activate the environment\n```sh\n(Posix)\n$ source /path/to/ENV/bin/activate\n```\n```sh\n(Windows)\n$ \\path\\to\\ENV\\Scripts\\activate\n```\n6. Install [requirements.txt](requirements.txt)\n```sh\n$ /path/to/ENV/bin/pip install -r requirements.txt\n```\n\n## Usage\n\n1. Run [run.py](run.py) **in root**\n```sh\n$ python run.py\n```\n2. Open localhost port server link\n\nSee [info.html](src/static/pages/info.html) for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosugoar%2Fdigit-recognizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosugoar%2Fdigit-recognizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosugoar%2Fdigit-recognizer/lists"}