How to import opencv2 framework in iOS Swift

后端 未结 2 1673
南旧
南旧 2021-02-09 02:20

I downloaded the latest pre-built opencv2.framework from the OpenCV SourceForge page. then in Xcode6-Beta3, I added opencv2.framework as a required linked framework under the \

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-09 02:55

    It's easiest if you start with a simple project all ready to compile and run out of the box.

    This xcode project works with Swift, XCode 6.1, OpenCV 2, and is MIT licensed: http://whitneyland.com/2014/10/opencv-swift.html

    Here's one I haven't tried yet but there are so few still it's worth looking at: https://github.com/foundry/OpenCVSwiftStitch

提交回复
热议问题