SquareDetector