Cleaned the code taking all the unused methods and variables out (300 lines of code). Tesseract variable moved to PocketReaderDataClass. Started the implementation of a cropper to crop the paper after the photo is taken, and a away to check the corners of the vector of cv::Points to guide the user properly, but not finished.
Added angle correction on guide, fixed voiceover guide by taking the center of the found sheet and the center of the view to guide, changed boundingRect to get a RotatedRect from the sheet, which is almost the same of the recognised sheet. Added ways to print this new data into the image. Added release() calls inside of findAndDrawSheetByContours:.
Added a lot of releases into the code to fix memory issues, added a CGImageRelease on the end of findAndDrawSheetByContours:, added free(_pixels) in Tesseract.mm (and made  a pull request to the repository). Changed how the CMSampleBuffer is converted to UIImage by using an method found in Apple Docs and not by passing it to a CIImage. Added a NSTimer to limit the times that the sheet is found to maintaing the memory at a low use, the sheet is now found 10 times a second, not 30 like before, following AVCapture’s FPS. The memory is not dependent on didReceivedMemoryWarning anymore. Removed Speech-related option from settings, added a initialiser to segment control to match dataClass.tesseractLanguage. Added french support (only in tesseract, internationalization still to come). Added edit button on history tab. Added fra.tessdata into the project. Removed QuartzCore.framework from project. Changed
iOS 7 launch images to not show the global color on tab bar.
Added a checker to see if the device is aligned with the sheet to take a better picture, added a start and stop in willViewAppear and Dissapear. Made the Tesseract be recreated to fix a memory leak problem. Removed iOS 7’s only AVSpeechSynthesizer. Removed ImagePicker methods, recognizedText, the C++ OpenCV Cropper, renamed 4th implementation to Finding the sheet.
Merge remote-tracking branch 'PocketReader/master' into cleanedAndCropped