Skip to content

Commit d1671c6

Browse files
committed
merged
2 parents 0ad56e4 + eb6c0ba commit d1671c6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

PCA/PCA.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@ int main(int argc, char **argv)
238238

239239
cout << "Usage:" << endl
240240
<< "\tChange the weights using the sliders" << endl
241-
<< "\tClick on the result window to reset sliders" << endl;
241+
<< "\tClick on the result window to reset sliders" << endl
242+
<< "\tHit ESC to terminate program." << endl;
243+
242244
waitKey(0);
245+
destroyAllWindows();
243246
}
244247

PCA/PCA.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def resetSliderValues(*args):
125125

126126
print('''Usage:
127127
Change the weights using the sliders
128-
Click on the result window to reset sliders''')
128+
Click on the result window to reset sliders
129+
Hit ESC to terminate program.''')
129130

130131
cv2.waitKey(0)
131132
cv2.destroyAllWindows()

0 commit comments

Comments
 (0)