We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d8752 commit 5200a36Copy full SHA for 5200a36
canny.py
@@ -44,6 +44,11 @@
44
type=int,
45
nargs=2,
46
help='override default camera resolution as H W')
47
+parser.add_argument(
48
+ "-fs",
49
+ "--fullscreen",
50
+ action='store_true',
51
+ help="run in full screen mode")
52
parser.add_argument(
53
'video_file',
54
metavar='video_file',
@@ -96,6 +101,8 @@ def nothing(x):
96
101
97
102
cv2.namedWindow(window_name, cv2.WINDOW_NORMAL)
98
103
cv2.namedWindow(window_name2, cv2.WINDOW_NORMAL)
104
+ cv2.setWindowProperty(window_name2, cv2.WND_PROP_FULLSCREEN,
105
+ cv2.WINDOW_FULLSCREEN & args.fullscreen)
99
106
100
107
# add some track bar controllers for settings
108
0 commit comments