cap_ios.h is not found

后端 未结 3 1045
天命终不由人
天命终不由人 2021-02-20 07:42

apparently, I have download the opencv2.framework from http://sourceforge.net/projects/opencvlibrary/files/opencv-ios/

but after I\'ve download the example project from

相关标签:
3条回答
  • 2021-02-20 07:46

    You don't need cap_ios.h.

    You only need to #import <opencv2/opencv.hpp> in your prefix.pch file after you drag the "opencv.framework" file into Xcode.

    The GSOC opencv code is for some sort of development version.

    0 讨论(0)
  • 2021-02-20 07:51

    As of now, the header file was moved to a new location. Try this.

    #import <opencv2/videoio/cap_ios.h>
    
    0 讨论(0)
  • 2021-02-20 07:55

    From new libraries, you have to use following header

    #import "opencv2/imgcodecs/ios.h"
    
    0 讨论(0)
提交回复
热议问题