-
Notifications
You must be signed in to change notification settings - Fork 8
Webcam Texture & WebcamDevice: The type or namespace name `WebCamTexture' could not be found. Are you missing an assembly reference? #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I would like to convert this example to real-time detection, for example using the YoloObjectDetectionExample- would that be possible? What would need to be added/changed? |
Could you change all "WebCamTextureToMatHelper" in the Example code to "MLCameraPreviewToMatHelper"? |
Could you add the following line to example code?
|
FaceDetectionWebCamTextureExample ( MLCameraPreviewToMatHelper version ) |
I succeeded in building mpk with the script below. |
And that provided you with real time object detection using video? I updated the DnnObjectDetectionWebCamTextureExample.cs to the one you provided and I keep having that same error about the MLCameraPreviewToMatHelper: Assets/OpenCVForUnity/Examples/MainModules/dnn/DnnObjectDetectionWebCamTextureExample.cs(251,62): error CS0246: The type or namespace name `MLCameraPreviewToMatHelper' could not be found. Are you missing an assembly reference? Assets/OpenCVForUnity/Examples/MainModules/dnn/DnnObjectDetectionWebCamTextureExample.cs(70,9): error CS0246: The type or namespace name `MLCameraPreviewToMatHelper' could not be found. Are you missing an assembly reference? Assets/OpenCVForUnity/Examples/MainModules/objdetect/FaceDetectionExample/FaceDetectionWebCamTextureExample.cs(50,9): error CS0246: The type or namespace name `MLCameraPreviewToMatHelper' could not be found. Are you missing an assembly reference? Really appreciate all your help! Thank you! |
same problem here @JossSun, anyone got output? |
I couldn't able to find a camera capture option in publishing settings |
Please copy manifest.xml to add camera capture privileges. |
"Enclose the code related to the WebCamTexture class with #if UNITY_EDITOR and #endif." - could you be more specific which scripts should be removed and which parts of scripts should be enclosed?
Currently have errors when attempting to build, tried removing all examples & scripts with "WebCamTexture" but it created even more errors. Thanks for your help in advance.
The text was updated successfully, but these errors were encountered: