Ask Your Question
0

Integrating OpenCV with IOS Swift for image processing

asked 2017-04-16 13:19:06 -0500

lamason gravatar image

I would like to leverage OpenCV's canny and getcontours APIs from a IOS project written in Swift. I have the framework integrated but need some insight on how to pass a UIImage into the calls and get the results back into my code. It would be nice if OpenCV provided the files needed to handle the complete set of mappings but I'd be happy to find an implementation for this image processing project. Thanks to anyone who can help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-07 21:22:05 -0500

I'm following this tutorial which shows how to create a bridging header and compile C++ & Obj-C wrappers for OpenCV function calls so you can call them from Swift.

https://saitoxu.io/2016/11/06/how-to-...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-16 13:19:06 -0500

Seen: 2,882 times

Last updated: Apr 16 '17