OpenCV + EmguCV in Unity Indie

Hello everyone,

I’m trying to capture images from the camera to do some image processing with EmguCV ( EmguCV .NET Assemblies using OpenCV dylib libraries). I am using Unity Indie. I was trying to do this in a similar fashion to the FMOD plugin (Indie Pro) as described on this thread:
http://forum.unity3d.com/viewtopic.php?p=217275

Everything works fine so far from within Unity, but when I try to run a standalone, it does not work. Any suggestions?

I was unable to add an attachment for some reason, so you can download my project from here:

Try to include the DLLs for OpenCV inside the folder of your exported game. Maybe the engine is not finding all the dependencies when it runs

I tried running the project on Windows XP and it throws errors into console.

Is it mac-only version?

dylib are mac “dlls” as suh they can’t work on windows.

Lazy-man question :roll:
Is it going to work if I simply replace .dylibs with .dlls? :smile:

Is anyone here using OpenCV with Unity for Windows?

Thank you very much :sweat_smile:

No, it doesn’t).

it would if the wrapper .NET code was written to handle them the same way and if the dll and dylib are equal.

Unitys Plugin capabilities does that pretty well, but I guess as an additional .net wrapper is in between, the idea is to avoid the license fee for pro