{"id":19459822,"url":"https://github.com/jsflo/androidnumberclassifier","last_synced_at":"2025-09-17T09:59:25.910Z","repository":{"id":187794753,"uuid":"103795197","full_name":"JsFlo/AndroidNumberClassifier","owner":"JsFlo","description":"Uses a model trained on with Tensorflow. Inference is done on the device through the Tensorflow Java Api","archived":false,"fork":false,"pushed_at":"2018-03-28T00:07:46.000Z","size":31176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T14:08:50.622Z","etag":null,"topics":["android","kotlin","kotlin-android","machine-learning","tensorflow","tensorflow-android"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/JsFlo.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}},"created_at":"2017-09-17T01:38:12.000Z","updated_at":"2018-03-28T00:07:47.000Z","dependencies_parsed_at":"2023-08-12T06:52:18.952Z","dependency_job_id":null,"html_url":"https://github.com/JsFlo/AndroidNumberClassifier","commit_stats":null,"previous_names":["jsflo/androidnumberclassifier"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JsFlo/AndroidNumberClassifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsFlo%2FAndroidNumberClassifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsFlo%2FAndroidNumberClassifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsFlo%2FAndroidNumberClassifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsFlo%2FAndroidNumberClassifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JsFlo","download_url":"https://codeload.github.com/JsFlo/AndroidNumberClassifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsFlo%2FAndroidNumberClassifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275575310,"owners_count":25489094,"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-17T02:00:09.119Z","response_time":84,"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":["android","kotlin","kotlin-android","machine-learning","tensorflow","tensorflow-android"],"created_at":"2024-11-10T17:34:11.925Z","updated_at":"2025-09-17T09:59:25.889Z","avatar_url":"https://github.com/JsFlo.png","language":"Kotlin","readme":"# Number Classifier\nBasic demo showing how to include and run a custom\nTensorFlow model.\n\n| \u003cimg src=\"nine.png\" width=\"200\"\u003e  | \u003cimg src=\"two.png\" width=\"200\"\u003e  |\n\n\nCreated a Classifier class to help speed up adding new models.\nThe classifier interface and abstract class can be extended\nto use **any** method of classifying, not necessarily TensorFlow\nor even **machine learning** classification.\n\n## Note\nThe v1 model is based on the **no pooling** CNN.\n\nThe classification is sometimes off and I believe this has\nto do with the way we pull the pixels from the Android\nBitmap.\n* Color values: Model was trained with gray scale (1 dimension)\n* Shape: Model was trained with a [1, 784] single array that gets reshaped\nto a 28 x 28. In this app I do the **reshaping** on the device and just pass\na 28 x 28 image to the classifier. \n\nThe closer I can get the user input (drawn on image view) to the \ninput data that the model was trained on then the classification results should be better.\n(Or try to see if the models are **too** **over-fit** to the input data)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsflo%2Fandroidnumberclassifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsflo%2Fandroidnumberclassifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsflo%2Fandroidnumberclassifier/lists"}