I am developing a project which requires the image crop feature like camscanner android application,when a picture is taken and when user clicks the crop button, a rectangle overlay should be shown as in camscanner. Where the rectangle path can be stretched to any angle and can perform crop.please do help me with a solution.

I was referring to <https://github.com/edmodo/cropper> . but this as only rectangle overlay with 4 points.please do help me if any one has a link or solution!!