OpenCV iOS Hello
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
OpenCV iOS Hello
| Original author | Charu Hans |
| Compatibility | OpenCV >= 3.0 |
In this tutorial we will learn how to:
Follow this step by step guide to link OpenCV to iOS.
Now we will learn how to write a simple Hello World Application in Xcode using OpenCV.
#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif
UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Hello!" message:@"Welcome to OpenCV" delegate:self cancelButtonTitle:@"Continue" otherButtonTitles:nil];
[alert show];
With the newer XCode and iOS versions you need to watch out for some specific details