Enox Software
Enox Software
Thank you very much for reporting. https://github.com/EnoxSoftware/MagicLeapWithOpenCVForUnityExample/releases/download/1.0.6/MagicLeapWithOpenCVForUnityExample_v1.0.6.unitypackage
Of course it is possible.
Torch does not seem to need a config parameter. https://github.com/EnoxSoftware/OpenCVForUnity/blob/master/Assets/OpenCVForUnity/Examples/MainModules/dnn/FastNeuralStyleTransferExample/FastNeuralStyleTransferExample.cs#L108 Could you change the code as follows? ` if (/**string.IsNullOrEmpty(config_filepath) ||**/ string.IsNullOrEmpty(model_filepath)) {`
Does coco.names exist in the Assets / StreamingAssets / dnn / folder? > Downlod https://github.com/pjreddie/darknet/tree/master/data/coco.names. Copy coco.names to "Assets/StreamingAssets/dnn/" folder.
In my environment, the size of coco.names is 625 bytes. https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names
Thank you for your inquiry. Could you edit these files? WebCamTextureToMat() method of Utils.cs WebCamTextureToMatHelper.cs Examples using the WebCamTextureToMatHelper under the Examples folder
Could you change all "WebCamTextureToMatHelper" in the Example code to "MLCameraPreviewToMatHelper"? https://github.com/EnoxSoftware/OpenCVForUnity/blob/master/Assets/OpenCVForUnity/Examples/MainModules/objdetect/FaceDetectionExample/FaceDetectionWebCamTextureExample.cs#L19
Could you add the following line to example code? ``` using MagicLeapWithOpenCVForUnity.UnityUtils.Helper; using UnityEngine.XR.MagicLeap; ```
FaceDetectionWebCamTextureExample ( MLCameraPreviewToMatHelper version ) [FaceDetectionWebCamTextureExample.cs.txt](https://github.com/EnoxSoftware/MagicLeapWithOpenCVForUnityExample/files/2960799/FaceDetectionWebCamTextureExample.cs.txt)
I succeeded in building mpk with the script below. [DnnObjectDetectionWebCamTextureExample.cs.txt](https://github.com/EnoxSoftware/MagicLeapWithOpenCVForUnityExample/files/2965652/DnnObjectDetectionWebCamTextureExample.cs.txt)