The type or namespace name `OpenCVForUnity' could not be found
I am working on face traching in unity3D
I have downloaded and imported the sample project on "FaceTracker Sample using OpenCV for Unity".
But when I tried to runned the project,its showing me the error.Below is the screen shot of the error
What will be the issue?can anybody help out please?
I am using unity(5.0.0f4(64 bit))
Can you confirm that the scripts say the following somewhere at their top?
using OpenCVForUnity;
Usually when you use $$anonymous$$onoDevelop (I don't know Visual Studio), right-clicking on the faulty class should show "Refactor" in the context menu and under there a helper for adding it.
Answer by Statement · Oct 31, 2015 at 07:03 PM
I guess it's this asset? https://www.assetstore.unity3d.com/en/#!/content/35284
The error says it can't find the type or namespace. Looking at the examples online one can see that the code uses a namespace. That namespace doesn't exist on your system. The samples depend on other code to be there.
Then there's this note on the assetstore page for the samples:
The execution of this asset is required “OpenCV for Unity”.
Which I guess is broken English for: You need to buy and import OpenCV for Unity to run the samples.