Skip to content

Commit 3d09e85

Browse files
committed
Use image processor buffer config
1 parent d437c3e commit 3d09e85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lfgen/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ def main():
127127
(max_x+1)*img_processor.output_width*(max_y+1)*img_processor.output_height*3
128128
)
129129
shared_np_array = np.ndarray((
130-
(max_y+1)*img_processor.output_height,
131-
(max_x+1)*img_processor.output_width,
130+
img_processor.buffer_height,
131+
img_processor.buffer_width,
132132
3
133133
), buffer=shared_array.buf, dtype=np.uint8)
134134

0 commit comments

Comments
 (0)