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 a24581c commit f4d8752Copy full SHA for f4d8752
canny.py
@@ -115,7 +115,7 @@ def nothing(x):
115
116
# override default camera resolution
117
118
- if not(args.set_resolution is None):
+ if (args.set_resolution is not None):
119
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, args.set_resolution[1])
120
cap.set(cv2.CAP_PROP_FRAME_WIDTH, args.set_resolution[0])
121
0 commit comments