Skip to content

Commit

Permalink
fixing description of -u flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ieliz committed Mar 30, 2022
1 parent ff66283 commit 893cf64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/crossroad_camera_demo/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Running the application with the `-h` option yields the following usage message:
[--show] ([--noshow]) (don't) show output
[ -t <NUMBER>] probability threshold for detections. Default is 0.5
[--tpr <NUMBER>] cosine similarity threshold between two vectors for person reidentification. Default is 0.7
[ -u <DEVICE>] resource utilization graphs. c - average CPU load, d - load distribution over cores, m - memory usage, h - hide
[ -u <MONITORS>] resource utilization graphs. c - average CPU load, d - load distribution over cores, m - memory usage, h - hide
Key bindings:
Q, q, Esc - Quit
P, p, 0, spacebar - Pause
Expand Down
5 changes: 3 additions & 2 deletions demos/crossroad_camera_demo/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,20 @@ void parse(int argc, char *argv[]) {
<< "\n\t[--show] ([--noshow]) " << show_msg
<< "\n\t[ -t <NUMBER>] " << t_msg
<< "\n\t[--tpr <NUMBER>] " << tpr_msg
<< "\n\t[ -u <DEVICE>] " << u_msg
<< "\n\t[ -u <MONITORS>] " << u_msg
<< "\n\tKey bindings:"
"\n\t\tQ, q, Esc - Quit"
"\n\t\tP, p, 0, spacebar - Pause"
"\n\t\tC - average CPU load, D - load distribution over cores, M - memory usage, H - hide\n";
showAvailableDevices();
slog::info << ov::get_openvino_version() << slog::endl;
exit(0);
} if (FLAGS_i.empty()) {
throw std::invalid_argument{"-i <INPUT> can't be empty"};
} if (FLAGS_m.empty()) {
throw std::invalid_argument{"-m <MODEL FILE> can't be empty"};
}
slog::info << ov::get_openvino_version() << slog::endl;
std::cout << ov::get_openvino_version() << std::endl;
}
} // namespace

Expand Down

0 comments on commit 893cf64

Please sign in to comment.