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 1a3873a commit ba02d46Copy full SHA for ba02d46
cam_streaming/client.py
@@ -71,7 +71,10 @@ def main(config):
71
if config["client"]["resize_image"]:
72
frame = cv2.resize(
73
frame,
74
- (config["client"]["height"], config["client"]["width"]),
+ (
75
+ config["client"]["resized_width"],
76
+ config["client"]["resized_height"],
77
+ ),
78
)
79
if config["client"]["grayscale"]:
80
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cam_streaming/config.yaml
@@ -18,6 +18,6 @@ server:
18
cam_buffer_len: 1000
19
client:
20
resize_image: False
21
- resized_width: 512
+ resized_width: 1024
22
resized_height: 512
23
grayscale: False
0 commit comments