1

I am currently using OpenCV in a Swift project. I have no experience using the library and I have some questions.

  1. Is it possible to use Swift to directly communicate with the OpenCV library?

If not:

  1. I have used Cocoa Pods to download the OpenCV framework. Do I still need to write an Objective-C++ wrapper?

1 Answer 1

4
  1. No, OpenCV requires you to use Objective-C++

  2. Yes you do, you can write your interface and native code in swift but you still have to bridge it with whatever you wanna do in OpenCV.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.