{"id":21813532,"url":"https://github.com/loggerhead/nnocr","last_synced_at":"2026-04-12T22:06:40.652Z","repository":{"id":74767615,"uuid":"49777881","full_name":"loggerhead/nnOCR","owner":"loggerhead","description":"A simple English characters recognizer using 3 layers neural network.","archived":false,"fork":false,"pushed_at":"2017-03-17T03:35:32.000Z","size":322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T06:09:04.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Matlab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loggerhead.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":"2016-01-16T15:03:28.000Z","updated_at":"2016-01-16T15:05:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd41360e-c40f-4101-8ea4-fb4d2bb4a524","html_url":"https://github.com/loggerhead/nnOCR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loggerhead%2FnnOCR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loggerhead%2FnnOCR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loggerhead%2FnnOCR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loggerhead%2FnnOCR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loggerhead","download_url":"https://codeload.github.com/loggerhead/nnOCR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244768671,"owners_count":20507308,"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","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":[],"created_at":"2024-11-27T14:29:49.389Z","updated_at":"2025-10-28T03:06:00.433Z","avatar_url":"https://github.com/loggerhead.png","language":"Matlab","readme":"# nnOCR\n\nA simple English characters recognizer using 3 layers neural network.\n\n# Installation\n\n```bash\n# Install Octave\nsudo apt-get install -y octave\n./install_octave_packages.sh\n# Install python dependences\nsudo apt-get install -y python-dev python-numpy python-scipy\nsudo pip install -r requirements.txt\n```\n\n# Running\n## Training\n\nPut your training images to `nnOCR/trainer/training_dataset/` for trainning. The image should:\n\n* Named as *label*\\_*identify*.bmp. *label* is the content of image, which is used to classify.\n* Size is 20*x*20 pixels\n\n```bash\ncd trainer\n./main.m [iter_num] [lambda]\n```\n\n## Predict\n\nYou can start a web server to predict user uploaded images.\n\n```bash\n# start http server at `localhost:5000`\npython server.py\n```\n\nOr you can just running it locally.\n\n```bash\npython predict.py IMAGE_PATH\n```\n\nNOTICE: The built-in `thetas.mat` can only used to recognize printing numbers.\n\n## Test\n\n```bash\npython predict.py test/1.jpg\npython predict.py test/2.jpg\n```\n\n# Contributors\n\n* [wooyiuhan](https://github.com/wooyiuhan)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floggerhead%2Fnnocr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floggerhead%2Fnnocr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floggerhead%2Fnnocr/lists"}