Update minimal_pylon.cpp
This commit is contained in:
parent
edbc4d68bc
commit
108e9f10c9
@ -60,7 +60,8 @@ int main( int argc, char* argv[] ) {
|
|||||||
<< "\t --framecount|-n \t the number of frames, defaults to 100\n"
|
<< "\t --framecount|-n \t the number of frames, defaults to 100\n"
|
||||||
<< "\t --quality|-q \t the qualtiy of the compression (0 < q <= 100), defaults to 50\n"
|
<< "\t --quality|-q \t the qualtiy of the compression (0 < q <= 100), defaults to 50\n"
|
||||||
<< "\t --index|-i \t the camera index, ignored if cameras > 1, defaults to 0\n"
|
<< "\t --index|-i \t the camera index, ignored if cameras > 1, defaults to 0\n"
|
||||||
<< "\t --outfile|-o \t the output filename";
|
<< "\t --outfile|-o \t the output filename\n";
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
if ((arg == "--framecount" || arg == "-n") && i + 1 < argc) {
|
if ((arg == "--framecount" || arg == "-n") && i + 1 < argc) {
|
||||||
frameCount = std::atoi(argv[++i]);
|
frameCount = std::atoi(argv[++i]);
|
||||||
@ -219,7 +220,6 @@ int main( int argc, char* argv[] ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
counter += 1;
|
counter += 1;
|
||||||
std::cout << "." << std::flush;
|
|
||||||
done = high_resolution_clock::now();
|
done = high_resolution_clock::now();
|
||||||
total_duration = duration_cast<microseconds>(done - before);
|
total_duration = duration_cast<microseconds>(done - before);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user