  This paper presents Chinese Poker Self-Playing Robot, an integrated system
enabling a TM5-900 robotic arm to independently play the four-person card game
Chinese poker. The robot uses a custom sucker mechanism to pick up and play
cards. An object detection model based on YOLOv5 is utilized to recognize the
suit and number of 13 cards dealt to the robot. A greedy algorithm is developed
to divide the 13 cards into optimal hands of 3, 5, and 5 cards to play.
Experiments demonstrate that the robot can successfully obtain the cards,
identify them using computer vision, strategically select hands to play using
the algorithm, and physically play the selected cards in the game. The system
showcases effective integration of mechanical design, computer vision,
algorithm design, and robotic control to accomplish the complex task of
independently playing cards.
