Přístupnostní navigace
E-application
Search Search Close
Bachelor's Thesis
Author of thesis: Bc. Petr Kobylka
Acad. year: 2024/2025
Supervisor: Ing. Jan Králík, Ph.D.
Reviewer: Ing. Martin Formánek
This bachelor's thesis addresses the design and implementation of a software system for automatic recognition of board game states from a camera image, enabling interactive play against a computer opponent. The system integrates computer vision methods for analyzing the game scene with game logic and artificial intelligence algorithms for three classic games: Gomoku, Checkers, and Chess. The detection of the game board utilizes a method based on ArUco markers, while game pieces are recognized through color filtration in the HSV space. The artificial intelligence for Gomoku is handled by a heuristic algorithm, Checkers employs the Minimax algorithm with alpha-beta pruning, and Chess utilizes integration with the extarnal Stockfish engine. A part of the system is the detection of the player's hand to prevent misinterpretation during piece manipulation. The resulting prototype demonstrates the functionality of the chosen concept and provides a platform for playing the implemented games. The thesis identifies the achieved results, discusses the limitations of the proposed solution, and suggests directions for future improvements.
computer vision, image processing, artificial intelligence, board games, object recognition, chess, checkers, tic-tac-toe, gomoku, python, ArUco, game algorithms, OOP
Date of defence
17.06.2025
Result of the defence
Defended (thesis was successfully defended)
Grading
A
Process of defence
Při obhajobě student nejprve prezentoval svoji bakalářskou práci, následně byly přečteny posudky a student odpovídal na dotazy oponenta. Poté byly členy komise položeny následující otázky: - Jaká je motivace vzniku této práce? - Celý min max algoritmus jste naprogramoval sám? - Je možné, aby algoritmus hrál sám proti sobě? - Jaké kroky jsou potřebné k implementaci na RPi? - Jakým způsobem využíváte stockfish? Na závěr byla obhajoba hodnocena jako výborná.
Language of thesis
Czech
Faculty
Fakulta strojního inženýrství
Department
Institute of Solid Mechanics, Mechatronics and Biomechanics
Study programme
Mechatronics (B-MET-P)
Composition of Committee
doc. Ing. František Šebek, Ph.D. (předseda) Ing. Petr Procházka, Ph.D. (místopředseda) Ing. Pavel Krejčí, Ph.D. (člen) doc. Ing. Stanislav Věchet, Ph.D. (člen) Ing. Pavel Švancara, Ph.D. (člen) Ing. Josef Vejlupek, Ph.D. (člen) Ing. Jiří Keprt, Ph.D. (člen) Ing. Jan Králík, Ph.D. (člen)
Supervisor’s reportIng. Jan Králík, Ph.D.
Grade proposed by supervisor: A
Reviewer’s reportIng. Martin Formánek
Grade proposed by reviewer: A
Responsibility: Mgr. et Mgr. Hana Odstrčilová