In this we will see how to set up Emgucv for Unity3D
I am using
download link : https://sourceforge.net/projects/emgucv/
Getting Started
I am using
- Unity3D 5.3.3 personal edition
- EmguCv - emgucv-windesktop 3.1.0.2282.exe
download link : https://sourceforge.net/projects/emgucv/
Getting Started
- Download and run the emgucv-windows setup exe. It will create a folder in C drive named as Emgu
- Fire up Unity3D and create a new project.
- Go to C:\Emgu\emgucv-windesktop 3.1.0.2282\bin folder and copy all the .dll files including some .dll files from the folder x64( if you are using a 32bit or copy the files from x86 if you working on a 64bit)
- Now open the new unity project folder which you have created.
- Then open the Assets folder under new project and paste all the copied .dll files.
- Now browse the folder where you have installed unity3D normally it should be under C:\Program Files\
- Under this search for the file System.Drawing.dll. Copy this file and paste it along with the other .dll files under NewProject>>Assets folder
- You need to add EmguCv path to System Environment Variables(Create a new system variable and also add the X64 directory under path variable too something similar to this ";Emgu\emgucv-windesktop 3.1.0.2282\x64")
- That's it EmguCv is now setup for Unity3D. You can start playing around.
Hi! Hope you will be doing good.
ReplyDeleteThanks for such a great tutorial.I am following this tutorial using Emgucv (emgucv-windesktop 3.4.3.3016) but encountering the following error. Your help will be appreciated.
ERROR:
Unloading broken assembly Assets/Emgu.CV.UI.GL.dll, this assembly can cause crashes in the runtime