Sample for how to detect rectanle using OpenCV with many tranformations for image. Inspired by https://github.com/badlogic/opencv-fun