I am working on a project that allows me to play chess with a robotic arm.
I want to use a camera to find out the alignment of the horse, (the directional vector) because the horse can only be captured in a certain direction.
So I can use principal component analysis (PCA) to calculate the directional vector.
And with the Harris corner detector, I can extract the corners (of each square) and deduce the characteristics of the chessboard. If I can find all the corners, is it possible to find the centre of each square? (is there a function that allows me to find it?)