标签: c# emgucv
答案 0 :(得分:1)
使用Environment课程。它有检索和设置环境变量的方法:
Environment
string path = Environment.GetEnvironmentVariable("Path"); Environment.SetEnvironmentVariable("Path", path + @";C:\Emgu\emgucv-windows-universal-cuda 2.4.10.1940\bin\x64");