https://github.com/ryanlinjui/darkchess-robot
A self-learning robotic arm plays Darkchess with you in Real-World.
https://github.com/ryanlinjui/darkchess-robot
aiot computer-vision game-theory human-computer-interaction robotic-arm
Last synced: 5 months ago
JSON representation
A self-learning robotic arm plays Darkchess with you in Real-World.
- Host: GitHub
- URL: https://github.com/ryanlinjui/darkchess-robot
- Owner: ryanlinjui
- License: apache-2.0
- Created: 2022-07-19T05:51:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-21T06:47:25.000Z (6 months ago)
- Last Synced: 2025-04-21T07:43:53.402Z (6 months ago)
- Topics: aiot, computer-vision, game-theory, human-computer-interaction, robotic-arm
- Language: Python
- Homepage: https://www.mxeduc.org.tw/scienceaward/history/projectDoc/19th/doc/SA19-120_final.pdf
- Size: 41.8 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> *"The project has been re-developing and refactoring since now." - 2024.11.12*
> *"Now 'ONLY Brain Feature' is waiting for been completed......" - 2025.04.05*# Darkchess Robot
[](https://www.mxeduc.org.tw/scienceaward/history/projectDoc/19th/doc/SA19-120_final.pdf)
[](https://www.youtube.com/watch?v=iaBYF3ZuBAg)
[](https://huggingface.co/collections/ryanlinjui/darkchess-robot-670ccb8a15991c5bdad9f10c)
# 🤖 Demo
![]()
![]()
# 💡 Getting Started
### Run Darkchess Robot System with Specific Mode
```bash
# Run Robot Server along with Website Monitor
python app.py --robot# Run API Server of 'brain' & 'eye' Only
python app.py --api
```
> Go [`config.py`](./config.py) to configure app settings before running server.
![]()
![]()
# 🚀 Features
## Brain - AI Engine for Darkchess Board Game
TBA......## Eye – Real-World Detection and Recognition of Darkchess Board States
- **Model Architecture:** VGGNet-based darkchess board recognition
- **Training Accuracy:** 99.9%
- **Training Loss:** 7.2336e-06
- **Real-world Test Success Rate:** 98.9%> For Eye training/testing script, refer to [`eye_train.ipynb`](./eye_train.ipynb).
> Detailed model information is available on [Huggingface](https://huggingface.co/ryanlinjui/darkchess-robot-eye-VGGNet).## Arm – Robotic Arm Control for Real-World Darkchess Applications
Our **Third-Generation Catcher** model with robotic arm that doing **Chess-Flipping** actions in Real-World Darkchess game.> Explore the [Hardware](./arm/hardware) and [Firmware](./arm/firmware) for more details.
## AIoT – Darkchess Robot System Operable via WiFi
- API server collects training data from both Eye and Brain features.
- Just a single button press starts gameplay via WiFi remote control.> For API specifications, please see [documentation](https://github.com/ryanlinjui/darkchess-robot/wiki).
# 🌟 Awards
- **Gold Medal (Int'l Top 50/408)** - 7th Kaohsiung International Invention & Design EXPO (2020)
- **Merit (Nat'l Top 20/661)** - [19th Macronix Science Awards (2020)](https://www.mxeduc.org.tw/scienceaward/history/projectDoc/19th/production.htm)
- **Second Place (Nat'l 2/200up)** - [12th i-ONE NARLabs Instrument Technology Innovation Competition (2020)](https://i-one.org.tw/Home/ListContents/107?ATimes=12)
- **Second Place in Engineering(I) (Nat'l 2/151)** - [60th National Primary and High School Science Fair (2020)](https://twsf.ntsec.gov.tw/activity/race-1/60/pdf/NPHSF2020-052310.pdf?746)
- **First Place in Engineering(I) (Reg)** - [53rd Taipei Primary and High School Science Fair (2020)](https://sites.google.com/csjh.tp.edu.tw/science/高級中等學校組/工程學科一?authuser=0#h.6xilplkz0fpy)
- **First Place in Engineering(I) (H.S.)** - Taipei Municipal Neihu Vocational High School Independent Study (2020)# ®️ Patent
- **Invention Patent** - *DARK CHESS ROBOT (Dec 1, 2021) - TWI748780B*
- **Utility Model Patent** - *Robot arm gripper (Feb 21, 2021) - TWM608235U*
> Please visit [here](https://tiponet.tipo.gov.tw/gpss/) and search for the patent code as mentioned above.