openCV as macOS framework for swift

Hi there,

I tried to install openCV in swift. unfortunately the framework works only for IOS. I need it however for MacOS. Is there any MacOs framework?

Thanks a lot

Hi,

You can check the installation for MacOS first. I think you should be able to do same for IOS installation for just changing the platforms. There is a python script I havent’ tried it but if you want to do it for macOS, just replace the line
python opencv/platforms/ios/build_framework.py ios with
python opencv/platforms/osx/build_framework.py osx

cheers