getPerspectiveTransform on a non entire quadrangle
问题 I am working on a Open CV Android project, the aim is the user can take a picture of a snooker table and I have to find balls positions on image retrieved. When I have four corners of the table on my picture, it is pretty easy, I have already coded table, balls and colors detection, and I use getPerspectiveTransform() function to warp my table on a rectangle. Then I have balls center position on the rectangle. If I have three corners, I think I have to extend table edges and find lines