Perspective Transform + Crop in iOS with OpenCV
I'm trying to implement a cropping & perspective correction feature into an upcoming app. Whilst doing research, I came across: Executing cv::warpPerspective for a fake deskewing on a set of cv::Point http://sudokugrab.blogspot.ch/2009/07/how-does-it-all-work.html So I decided to try implementing this feature with OpenCV - the framework is there so the installation was fast. However, I'm not getting the results I hoped for: (2nd picture is the result) I've translated all the code to work with Xcode and triple checked the Coordinates. Can you tell me what is wrong with my code? For the sake of