Cropping UIImage like camscanner
I am stuck in my application feature. I want cropping feature similar to Cam Scanner Cropping. The screens of CAM-SCANNER are: I have created similar crop view. I have obtained CGPoint of four corners. But How can I obtained cropped image in slant. Please provide me some suggestions if possible. This is a perspective transform problem. In this case they are plotting a 3D projection in a 2D plane. As, the first image has selection corners in quadrilateral shape and when you transform it in a rectangular shape, then you will either need to add more pixel information( interpolation ) or remove