The main problem of the automation of board games with cards is card recognition, which is a complex operation and needs a large learning dataset. Due to improvements in computer GPUs, these can be generated synthetically using libraries, such as OpenCV. We focused on the recognition of the cards of the Tarock card game with the aim of automating the counting of points after the game. We wrote a program that recognizes any number of cards through the camera, stores their names, adds up their points and checks for bonuses. We used the YOLO detection algorithm, which has been trained on an artificial dataset. Its accuracy has been checked and improved upon using real pictures.
|