Skip to content

Instantly share code, notes, and snippets.

Will Donohoe McSimp

View GitHub Profile
lis2501 / imageProcessing.cs
Created Jan 3, 2014
opencv/samples/cpp/squares.cpp to unity @iphone5 Using NativePlugin
View imageProcessing.cs
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class imageProcessing : MonoBehaviour {
[DllImport ("__Internal")]
private static extern void UpdateTexture(System.IntPtr colors, int width, int height);
WebCamTexture webcamTexture;
Texture2D texture = null;
You can’t perform that action at this time.