microsoft / HoloLensForCV

Sample code and documentation for using the Microsoft HoloLens for Computer Vision research
MIT License
472 stars 156 forks source link

new Mat() access denied #146

Closed A00107408 closed 3 years ago

A00107408 commented 3 years ago

Using OpenCvSharp for HoloLens 2. When I call new Mat() I catch the exception:

System.UnauthorizedAccessException: Failed getting the path of a special folder. Access denied -> System.Environment.GetWindowsFolderPath(System.Int32 folder)

Any suggestions appreciated.