Publisher review:Accepting Four Points in 2-space script mediates an input of a series of four points--assumed to be the corners of a rectangular document--in any order, as mouse clicks. Photographic document images are often rotated, if only slightly. This code mediates an input of a series of four points--assumed to be the corners of a rectangular document--in any order, as mouse clicks.
Then it determines the orientation of the points and calculates a "quality" value, as an indication to the user of how well the four points s/he has chosen approximate to the corners of a rotated rectangle. Finally, it makes the information that it has been passed, or that it has been able to glean, available to the script that invoked it.
Accepting Four Points in 2-space is a Python script for Mathematics scripts design by Bill Bell.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
mediates an input of a series of four points--assumed to be the corners of a rectangular document--in any order, as mouse clicks.
Operating system:Windows / Linux / Mac OS / BSD / Solaris