9
Chess Recognition Shai karnei – Reem Nathan Meisels

Chess Recognition Shai karnei – Reem Nathan Meisels

Embed Size (px)

Citation preview

Page 1: Chess Recognition Shai karnei – Reem Nathan Meisels

Chess Recognition

Shai karnei – Reem Nathan Meisels

Page 2: Chess Recognition Shai karnei – Reem Nathan Meisels

Motivation

For this project we aimed to detect chess pieces and their location.

Page 3: Chess Recognition Shai karnei – Reem Nathan Meisels

UI

• Simple – take a picture – get a picture back with Homography and pieces type and location.

Page 4: Chess Recognition Shai karnei – Reem Nathan Meisels

Algorithm

Image captured

Canny

Hough Line Transform

Page 5: Chess Recognition Shai karnei – Reem Nathan Meisels

Algorithm

Take outer Board lines

homography

Split to 8x8 grid

Page 6: Chess Recognition Shai karnei – Reem Nathan Meisels

Algorithm

Run template matching on each square and return piece type and location

Page 7: Chess Recognition Shai karnei – Reem Nathan Meisels

result

Page 8: Chess Recognition Shai karnei – Reem Nathan Meisels

result

Page 9: Chess Recognition Shai karnei – Reem Nathan Meisels

Bad resultBad hough line detection => bad Homography => Bad board and pieces detection