shadowmint / unity-n-native

Unity package: N Framework: Native
2 stars 1 forks source link

OpenCV integration #1

Open roscopecoltran opened 7 years ago

roscopecoltran commented 7 years ago

Hi,

Hope u are all well !

I found your repo because I am working on some native plugin for Unity3D, and I was wondering if your plugin would allow to wrap cmake based packages build with hunter and cross-compile them with an helper from the same author called polly.

More precisely, they are much more computer vision or image processing oriented. (eg. ogles_gpu, dlib, ...) I guess that some types should be added like matrix3x3 or anything related to web-camera streams. Isn't it ?

Is it something the unity-n-native can help with ?

Ps. I saw also this python script from mixpanel for native plugin cross-compilation but I am much more interested by wrapping some c++/cmake based librairies. And this tool from the mono develop team: cppsharp, but still confused about the best approach to ease the wrapping of such plugins.

Have a great day !

Cheers, Richard

shadowmint commented 7 years ago

Just a note; this is definitely on my list of things to look at, but currently unity-n-native only supports loading shared libraries at runtime using libdl, and it only works on mac and linux.

Ultimately I intend to completely remake this repo using tooling for static libraries and cmake, but that's still some time away.

For now, if you want to use C++ with unity, I recommend you look at what the pros are doing, for example: https://github.com/i-saint/MassParticle