Change in the OpenCV handling, now the OpenCV can recognise a sheet of paper on a black background. Changed the way cv::Mat is created. Added comments on some part of the code for better understanding. Added a workaround under the group “iOS 7 BETALIFE THIS SHOULD GO WAY” for hiding a console message witch comes up in iOS 7 beta 6.