Open CV / Unreal Engine Integration on Mac(with CMake)
Hello! I've been trying to get a prototype off the ground but am currently stuck at this step. OpenCV is properly installed and set up and I'm able to create basic Open CV command line Xcode projects without errors. Unfortunately the only documentation I can find on UE4/Open CV integration is for Windows and since I'm on Mac I've used CMake and need to know how this would be accomplished. I found one forum which indicated it had something to do with the Unreal Editor but it didn't seem clear what I needed to do.
Any help on the points below would be GREATLY appreciated:
Please note I am fairly new and self taught so no detail is too obvious or small to note, thanks again!
So your goal is to OpenCV function in UE4, then you need to add OpenCV in to build settings in build scripts, so compiler will know how to link to library. Keep in mind UE4 does not use XCode or VS build systems, or either CMake (but use them indirecly thats why they still needed to be installed), but it has it's own build system called UnrealBuildTool, because of that build settings in IDEs are mostly ignored and settings in build scripts are more valid.
Lucky for you someone made a nice wiki page showing how to use OpenCV in UE4, including setting up build scripts as well as make basic blueprint integration:
Steps are very similar to any other library you want to use, but before you decide to use any external library makes sure that UE4 does not already have support for it's function (for example you don't need to link Steam library, there SteamOnlineSubsystem UE4 module for that) , using build-in functions is the safest and fastest route.
Follow this question
Once you sign in you will be able to subscribe for any updates here