c# process cvtcolor error

asked 2015-05-19 23:09:02 -0600

fredreload gravatar image

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();
        }

image description

edit retag flag offensive close merge delete

Comments

impossible to answer without knowledge what's in project5.exe.

berak gravatar imageberak ( 2015-05-20 04:27:55 -0600 )edit