Skip to content

xingfanxia/mahjong_hand_detection

Repository files navigation

A yolo based mahjong hand detection

Created for fun. Used for auto score mahjong hands and futher projects.

Demo

Change Log

  • 2024.3.17 Finished V3 model training.
  • 2024.3.22 Finished simple hand scoring and shanten calculation.
  • Next step: Create a simple web app to take a picture and score the hand.

To do

  • Finish the Flask Web app.
    • Create a simple web app.
    • Support taking a picture and score.
    • Support specifying dora and other conditions.
    • Support continuous web cam capture and score.
  • Improve the model.
    • Add more training and validation data (can auto capture a hand while in game every few seconds)
  • Add Hand improvement suggestions.
    • Recursively calculate possible hand improvement tiles.

Some Ideas

  • Have a web cam taking video feed of hand then
    • Auto voice over for each mahjong tile played.
    • Auto voice over for riichi and other actions.
    • Calculate shanten for current hand.
    • ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages