Skip to content

Commit ef51b05

Browse files
Resize on different default height (#1212)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent 7c2a625 commit ef51b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

donkeycar/parts/oak_d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
self.height = height
5757

5858
# TODO: Accommodate using device native resolutions to avoid resizing.
59-
self.resize = (width != WIDTH) or (height != height)
59+
self.resize = (width != WIDTH) or (height != HEIGHT)
6060
if self.resize:
6161
print(
6262
f"The output images will be resized from {(WIDTH, HEIGHT)} to {(self.width, self.height)} using OpenCV. Device resolution in use is 640x480."

0 commit comments

Comments
 (0)