-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Improving parser for 'crossroad_camera_demo' #3359
base: master
Are you sure you want to change the base?
Conversation
Jenkins please retry a build |
5 similar comments
Jenkins please retry a build |
Jenkins please retry a build |
Jenkins please retry a build |
Jenkins please retry a build |
Jenkins please retry a build |
893cf64
to
85a313b
Compare
<< "\n\t[--show] ([--noshow]) " << show_msg | ||
<< "\n\t[ -t <NUMBER>] " << t_msg | ||
<< "\n\t[--tpr <NUMBER>] " << tpr_msg | ||
<< "\n\t[ -u <MONITORS>] " << u_msg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<< "\n\t[ -u <MONITORS>] " << u_msg | |
<< "\n\t[ -u <MONITORS>] " << u_msg |
} | ||
videoWriter.write(frame); | ||
if (FLAGS_show) { | ||
cv::imshow("Detection results", frame); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cv::imshow("Detection results", frame); | |
cv::imshow(argv[0], frame); |
videoWriter.write(frame); | ||
if (FLAGS_show) { | ||
cv::imshow("Detection results", frame); | ||
const int key = cv::waitKey(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const int key = cv::waitKey(1); | |
const int key = cv::pollKey(); |
if (FLAGS_show) { | ||
cv::imshow("Detection results", frame); | ||
const int key = cv::waitKey(1); | ||
if (27 == key) // Esc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add Q
and q
in addition to Esc
Handle pause keys
"(as it is returned from the detection network, may vary from one network to another). " | ||
"Default is 1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"(as it is returned from the detection network, may vary from one network to another). " | |
"Default is 1"; | |
"(as it is returned from the detection network, may vary from one network to another). " | |
"Default is 1"; |
DEFINE_double(tpr, 0.7, tpr_msg); | ||
|
||
constexpr char u_msg[] = "resource utilization graphs. " | ||
"c - average CPU load, d - load distribution over cores, m - memory usage, h - hide"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"c - average CPU load, d - load distribution over cores, m - memory usage, h - hide"; | |
"c - average CPU load, d - load distribution over cores, m - memory usage, h - hide"; |
Can one of the admins verify this patch? |
Changing parser for 'crossroad_camera_demo'.
Aligning code style of parser according to OMZ. requirements(indentations, the naming of arguments, etc).
Changing test cases and README.md.
As example used PR: #3131