orderPoints

fun Array<Point>.orderPoints(): Array<Point?>

Orders OpenCV camera points to be in the order top-left, top-right, bottom-right and bottom-left.