This week I continued refining the OpenCV. I was able to work out the math in order to get all points in the board. I’ve also worked on refining the method for movement detection. I’ve changed the image used in comparison to be a grayscale version modified to remove shadows. Overall this has shown to be promising, as the clusters we see after movements are more closely grouped together into the correct squares.
My next plans involve continuing to modify this algorithm such that the clusters become grouped together so that we can have precise points associated with movement. I also plan to modify it such that movement is calculated not only after a set amount of time, but also after the image stabilizes. This will help counteract some issues that arise while testing, where a hand obscures the cameras vision of the board.