I tried to run an Opencv program using process from c#, for some reason it is giving me a cvtcolor error even though it runs correctly in c++. Can someone tell me how to fix this error?
run_cmd1(@"C:/Project5/Debug/Project5.exe", "");
private void run_cmd1(string cmd, string args)
{
Process process = new Process();
process.StartInfo.FileName = cmd;
process.StartInfo.Arguments = args; // Put your arguments here
process.Start();
}