|
2 | 2 | * Image Grabber
|
3 | 3 | * Application for grabbing images from Basler cameras using Pylon API.
|
4 | 4 | * @file ArgumentsParser.cpp
|
5 |
| - * @version 1.0 |
| 5 | + * @version 2.0 |
6 | 6 | * @author Daniel Konecny (xkonec75)
|
7 | 7 | * @organisation Brno University of Technology - Faculty of Information Technologies
|
8 |
| - * @date 03. 04. 2021 |
| 8 | + * @date 27. 04. 2021 |
9 | 9 | */
|
10 | 10 |
|
11 | 11 |
|
@@ -42,14 +42,14 @@ long long ArgumentsParser::LoadNumber(char *numberAsChars) {
|
42 | 42 |
|
43 | 43 | void ArgumentsParser::PrintHelp() {
|
44 | 44 | cout << "IMAGE GRABBER" << endl <<
|
45 |
| - "-f (framerate) Set framerate (fps) of recording (default: " << DEFAULT_FRAME_RATE << ")." << endl << |
46 |
| - "-h (help) Show help." << endl << |
47 |
| - "-i (image) Save images instead of video. Optional argument setting the image quality." << endl << |
48 |
| - " Quality has to be between 0 and 100, the higher is the better (default: " << |
| 45 | + "-f (--framerate) Set framerate (fps) of recording (default: " << DEFAULT_FRAME_RATE << ")." << endl << |
| 46 | + "-h (--help) Show help." << endl << |
| 47 | + "-i (--image) Save images instead of video. Optional argument setting the image quality." << endl << |
| 48 | + " Quality has to be between 0 and 100, the higher is the better (default: " << |
49 | 49 | DEFAULT_IMG_QUALITY << ")." << endl <<
|
50 |
| - "-o (output) Set folder for video/image and log output (default: " << DEFAULT_OUT_DIR << ")." << endl << |
51 |
| - " This folder has to contain folders: img, log, vid." << endl << |
52 |
| - "-v (verbose) Print information about the camera state." << endl; |
| 50 | + "-o (--output) Set folder for video/image and log output (default: " << DEFAULT_OUT_DIR << ")." << endl << |
| 51 | + " This folder has to contain folders: img, log, vid." << endl << |
| 52 | + "-v (--verbose) Print information about the camera state." << endl; |
53 | 53 | }
|
54 | 54 |
|
55 | 55 | bool ArgumentsParser::ProcessArguments(int argc, char *argv[]) {
|
|
0 commit comments