I want to create an app to click the picture of a sudoku puzzle located anywhere on a book or somewhere else. I have tried Harris but it selects many more points since the ink used is not uniform. I have tried Canny but again it selects few gridlines. I used Contour but it gave me broken contour. In the end I have currently YOLO algorithm in my mind to detect those gridboxes and use self prepared dataset of mobile clicked images or from the internet to get variety of border thickness. Can I get how do I implement YOLO or use existing YOLO algorithm to detect the coordinates of box?