Original title:
Lokalizace šachových figurek na hrací ploše z fotografie
Translated title:
Visual Localization of Chess Pieces
Authors:
Hampl, Tomáš ; Špaňhel, Jakub (referee) ; Hradiš, Michal (advisor) Document type: Bachelor's theses
Year:
2021
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Hlavním cílem této práce bylo analyzovat stav šachové partie a lokalizovat šachové figurky na šachovnici. Rozpoznání šachovnice je založené na lokalizaci čar v obraze pomocí Houghovy transformace a PClines. Figurky byly detekovány modely konvolučních neuronových sítí - YOLOv3, YOLOv4 a YOLOv4 tiny. Vyhodnocení bylo provedeno na vlastní datové sadě. Detekce šachovnice dosahuje přesnosti 97%, kompletní lokalizace stavu šachovnice dosahuje 74,5% a lokalizace figurek 96%.
The main goal of this thesis was to analyze state of the chess game and to locate chess pieces on the chessboard. Chessboard recognition is based on locating lines in image using Hough transform and PClines. The figures were detected by models of convolutional neural networks - YOLOv3, YOLOv4 and YOLOv4 tiny. Evaluation was perfomed on our data set. Chessboard detection achieves accuracy of 97%, complete localization of the state reaches 74,5% and piece localization 96%.
Keywords:
camera calibration; Canny edge detector; chessboard detection; convolutional neural network; edge detection; figure detection; homography; Hough transform; parallel coordinates; PClines; PnP; YOLO; Cannyho hranový detektor; detekce figurek; detekce hran; detekce šachovnice; homografie; Houghova transforamce; kalibrace kamery; konvoluční neuronová síť; paralelní souřadnice; PClines; PnP; YOLO
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/199388