id: 11764    nodeId: 11764    type: General    point: 115.0    linkPoint: 1.0    maker: cella    permission: linkable    made at: 2013.06.14 04:54    edited at: 2013.06.25 08:32
OpenCV tutorials for iOS
http://docs.opencv.org/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html

The samples of above link lacks some important information for configuration.

To run opencv programs on iOS:

1. get opencv2.framework and add to the project.

2. insert the following lines to "project folder/Supporting Files/projectname-Prefix.pch"
#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif

3. change the extensions .m of source files to .mm.

4. to use namespace, insert the following line in the header (or source if necessary) file.
using namespace cv;



Return to OpenCV tutorials for iOS