Opencv webcam feed to Unity texture

Hi

I have a project using openCV 2.3 with Mat images, but Im stuck at finding a way to get a live feed from the webcam to a Unity 2dtexture. I’ve caught that you somewhat need to pass a array to the plugin dll file, which will then paste the image data into the array, but I don’t know how to do that. Hope someone can help

Unity 3.5 public beta now supports WebCamTextures i’ve written a script example at Unity Video Remake: Webcam Textures - iKriz.nl