Skip to content

Commit 893cf64

Browse files
committed
fixing description of -u flag
1 parent ff66283 commit 893cf64

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: demos/crossroad_camera_demo/cpp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Running the application with the `-h` option yields the following usage message:
9090
[--show] ([--noshow]) (don't) show output
9191
[ -t <NUMBER>] probability threshold for detections. Default is 0.5
9292
[--tpr <NUMBER>] cosine similarity threshold between two vectors for person reidentification. Default is 0.7
93-
[ -u <DEVICE>] resource utilization graphs. c - average CPU load, d - load distribution over cores, m - memory usage, h - hide
93+
[ -u <MONITORS>] resource utilization graphs. c - average CPU load, d - load distribution over cores, m - memory usage, h - hide
9494
Key bindings:
9595
Q, q, Esc - Quit
9696
P, p, 0, spacebar - Pause

Diff for: demos/crossroad_camera_demo/cpp/main.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,20 @@ void parse(int argc, char *argv[]) {
111111
<< "\n\t[--show] ([--noshow]) " << show_msg
112112
<< "\n\t[ -t <NUMBER>] " << t_msg
113113
<< "\n\t[--tpr <NUMBER>] " << tpr_msg
114-
<< "\n\t[ -u <DEVICE>] " << u_msg
114+
<< "\n\t[ -u <MONITORS>] " << u_msg
115115
<< "\n\tKey bindings:"
116116
"\n\t\tQ, q, Esc - Quit"
117117
"\n\t\tP, p, 0, spacebar - Pause"
118118
"\n\t\tC - average CPU load, D - load distribution over cores, M - memory usage, H - hide\n";
119119
showAvailableDevices();
120+
slog::info << ov::get_openvino_version() << slog::endl;
120121
exit(0);
121122
} if (FLAGS_i.empty()) {
122123
throw std::invalid_argument{"-i <INPUT> can't be empty"};
123124
} if (FLAGS_m.empty()) {
124125
throw std::invalid_argument{"-m <MODEL FILE> can't be empty"};
125126
}
126-
slog::info << ov::get_openvino_version() << slog::endl;
127+
std::cout << ov::get_openvino_version() << std::endl;
127128
}
128129
} // namespace
129130

0 commit comments

Comments
 (0)