{"id":20462048,"url":"https://github.com/denvercoder1/chess-piece-classifier","last_synced_at":"2025-08-03T21:33:34.259Z","repository":{"id":47473918,"uuid":"401115222","full_name":"DenverCoder1/chess-piece-classifier","owner":"DenverCoder1","description":"Demonstration of Tensorflow Lite for classifying images of chess pieces","archived":false,"fork":false,"pushed_at":"2021-08-30T10:52:23.000Z","size":80579,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T11:39:56.376Z","etag":null,"topics":["chess","tensorflow","tflite"],"latest_commit_sha":null,"homepage":"https://denvercoder1.github.io/chess-piece-classifier/","language":"JavaScript","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/DenverCoder1.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}},"created_at":"2021-08-29T18:34:44.000Z","updated_at":"2023-04-08T16:21:38.000Z","dependencies_parsed_at":"2022-08-29T19:11:51.555Z","dependency_job_id":null,"html_url":"https://github.com/DenverCoder1/chess-piece-classifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DenverCoder1/chess-piece-classifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fchess-piece-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fchess-piece-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fchess-piece-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fchess-piece-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DenverCoder1","download_url":"https://codeload.github.com/DenverCoder1/chess-piece-classifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenverCoder1%2Fchess-piece-classifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268617308,"owners_count":24279230,"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-08-03T02:00:12.545Z","response_time":2577,"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":["chess","tensorflow","tflite"],"created_at":"2024-11-15T12:29:43.412Z","updated_at":"2025-08-03T21:33:34.183Z","avatar_url":"https://github.com/DenverCoder1.png","language":"JavaScript","readme":"# Chess Piece Classifier\n\nThis is a simple demonstration of the capabilities of a Tensorflow Lite image classification model.\n\nIt was created for a presentation in an Introduction to AI course in August 2021.\n\n[![Peek 2021-08-29 21-18](https://user-images.githubusercontent.com/20955511/131261161-1fb7b30b-2250-4255-a6be-5444bf34925b.gif)](https://denvercoder1.github.io/chess-piece-classifier/)\n\n## What is this?\n\nThis is a basic web interface that uses a Tensorflow Lite image classifier to classify chess pieces.\n\nView the demo here: https://denvercoder1.github.io/chess-piece-classifier/\n\n## Where is the data from?\n\nThe images found in [chess.tgz](data/chess.tgz) were created by taking 1-minute videos of each of the six types of pieces and splitting them into frames using VLC. The videos were filmed at 30 frames per second and 1 frame for every 50 frames was extracted from each video.\n\n## How is the model made?\n\nI used the [Tensorflow Image Classification Model Maker](https://www.tensorflow.org/lite/tutorials/model_maker_image_classification) to simplify the creation of the model.\n\n![image](https://user-images.githubusercontent.com/20955511/131260911-44984a19-0177-447a-bb89-a115d151a6de.png)\n\nThe model was trained remotely using Google Colab and a copy of the Python notebook can be found [here](https://colab.research.google.com/drive/1AIsa43KHs2cywEfi3Xj5hJtrPI_Z7aiN?usp=sharing).\n\n## What about the website?\n\nThe website uses methods from [Tensorflow.js](https://js.tensorflow.org/api/latest/) to load the model, pre-process the images, and generate predictions.\n\n## Disclaimer\n\nThis is just a simple demonstration and it was trained only on a small dataset consiting of only photos of one chess set.\n\nTo avoid overfitting, it is recommended to try with a larger dataset and perform augmentation to generate more varied data.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenvercoder1%2Fchess-piece-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenvercoder1%2Fchess-piece-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenvercoder1%2Fchess-piece-classifier/lists"}