In storyboard: added a new navigation controller behind camera tab so the navigation tab don’t be messy in other devices rather than iPhone 5 (but internationalization is not working properly for that navigation bar).
In ViewController.mm: Changed default openCVMethodselectior to 2 (C++ Wrapper of DetectText). Added a rotation by 90 degrees in the cv::Mat which is sent to DetectText (actually commented), and added a way turn the returned cv::Rect by −90 degrees so the Rect correspond to the original cv::Mat (commented too).
Created a fourth method to process and find the sheet (unfinished) by getting a grayscale Mat, applying some blur to it, then dilating to find corners easily, then comes the Canny detector to find edges, and the same Hough Transform as the other method as weLL, which is printed to the Mat, then comes the findContours to transform it to program readable data, which analyze it to only big and closed figures. Then find approximation of the lines by angles to fix other than rectangles stuff that may appear at the image. This method is translated from the commented Phyton method above this one. The implementation isn’t complete.