{"id":18257998,"url":"https://github.com/jsmolka/tensor-ocr","last_synced_at":"2025-04-04T18:31:28.668Z","repository":{"id":133433191,"uuid":"151441593","full_name":"jsmolka/tensor-ocr","owner":"jsmolka","description":"Optical character recognition using Tensorflow.","archived":false,"fork":false,"pushed_at":"2018-12-06T15:32:04.000Z","size":610,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T17:05:42.475Z","etag":null,"topics":["keras","ocr","python","tensorflow"],"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/jsmolka.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":"2018-10-03T16:09:12.000Z","updated_at":"2022-11-04T13:25:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd2dde46-bad7-46de-83f7-d7154c2d993b","html_url":"https://github.com/jsmolka/tensor-ocr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Ftensor-ocr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Ftensor-ocr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Ftensor-ocr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Ftensor-ocr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsmolka","download_url":"https://codeload.github.com/jsmolka/tensor-ocr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229383,"owners_count":20905040,"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":["keras","ocr","python","tensorflow"],"created_at":"2024-11-05T10:28:32.156Z","updated_at":"2025-04-04T18:31:28.663Z","avatar_url":"https://github.com/jsmolka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tensor-ocr\n\nOptical character recognition using Tensorflow.\n\n## Setup\n1. Install Python 3.6 or lower (Tensorflow does not support newer versions).\n2. Clone or download the repository.\n3. Install the requirements using ```pip install -r requirements.txt```.\n4. Download a pretrained model from the [release page](https://github.com/jsmolka/tensor-ocr/releases) if you do not want to train the model yourself.\n5. Extract the archive and move the `model.json` and `weights.h5` files into the `data` directory.\n\n## Training\nIf you want to train a model yourself you need to download the [IAM dataset](http://www.fki.inf.unibe.ch/databases/iam-handwriting-database/iam-handwriting-database). After that you need to convert the dataset and train the model using the commands from the section below.\n\n## Commands\n| Command                        | Action                                                           |\n| ------------------------------ | ---------------------------------------------------------------- |\n| ```python app.pyw```           | Starts the GUI application.                                      |\n| ```python main.py --analyse``` | Analyses the IAM dataset.                                        |\n| ```python main.py --convert``` | Converts the IAM dataset into the desired format.                |\n| ```python main.py --rotate```  | Rotates the converted IAM dataset to create more training data.  |\n| ```python main.py --train```   | Trains the model using the converted IAM dataset.                |\n| ```python main.py --test```    | Tests the trained model.                                         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmolka%2Ftensor-ocr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsmolka%2Ftensor-ocr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmolka%2Ftensor-ocr/lists"}