I am working on a code where I take a cropped image of a graphed function, remove the grid lines, read the coordinates of the line, and convert those coordinates into real world coordinates since I know the starting (x,y), the ending (x,y) and the scale of the axis. I was successful in removing the grid. I happen to be stuck on the last two parts and I can't find any helpful resources online. If anyone knows a function or some steps to point me in the right direction that would be super appreciated. Continue reading...