This project is focused on mahjong tile recognition on images and videos. It uses two YOLO v8 models trained for detection and classification, as well as background subtraction for better results.
- Tile detection
- Tile recognition
- Yaku list based on photo
- Melds detection
- Open/closed hand state detection
- Table state log
- Live game log
For now it can recognize tiles in your hand (aka-doras included), as well as the winning tile and return list of yaku.
Yaku and shanten are counted using mahjong library.
Add weights to /recognition/weights/
directory.
Link