Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug this procedure without PowerShell? #8

Open
hub-wll opened this issue Mar 24, 2020 · 1 comment
Open

How to debug this procedure without PowerShell? #8

hub-wll opened this issue Mar 24, 2020 · 1 comment

Comments

@hub-wll
Copy link

hub-wll commented Mar 24, 2020

I have successfully compiled this program in VS2017 platform, but there is an error in the running process(details in issues 5).
I want to debug it, how to modify the open file location parameter to make the process run. Obviously, there is no output when I click debug without an input image.

@Sad-Snow
Copy link

Sad-Snow commented Feb 6, 2021

You can:
in file main.cpp,annotate the following things:
1、line 15:the parameter list of function main:int argc, const char * argv[];
2、line 18:cout << "[#Images : " << argc - 1 << "]" << endl;
3、line 22:cout << "i = " << i << ", [Images : " << ......;
change the following:
1、line 21: argc to 2;
2、line 23 the first parameter of MultiImages multi_images , change it to the name of the folder you want to test.
the inside files of the folder can be referenced in #2 .
enjoy^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants