if (qx <= math.max(px, rx) and qx >= math.min(px, rx) and qy <= math.max(py, ry) and qy >= math.min(py, ry)) then local function orientation(px, py, qx, qy, rx, ry ...
# center The rectangle mass center. # center tuple (x, y): x is regarding to the width (number of columns) of the image, y is regarding to the height (number of rows) of the image. # size Width and ...