File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,10 @@ int main(int argc, char **argv)
238
238
239
239
cout << " Usage:" << endl
240
240
<< " \t Change the weights using the sliders" << endl
241
- << " \t Click on the result window to reset sliders" << endl;
241
+ << " \t Click on the result window to reset sliders" << endl
242
+ << " \t Hit ESC to terminate program." << endl;
243
+
242
244
waitKey (0 );
245
+ destroyAllWindows ();
243
246
}
244
247
Original file line number Diff line number Diff line change @@ -125,7 +125,8 @@ def resetSliderValues(*args):
125
125
126
126
print ('''Usage:
127
127
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.''' )
129
130
130
131
cv2 .waitKey (0 )
131
132
cv2 .destroyAllWindows ()
You can’t perform that action at this time.
0 commit comments