fix(benchmarks): remove .numpy() from frame in benchmark script (#1354)

This commit is contained in:
Steven Palma
2025-06-19 17:07:13 +02:00
committed by GitHub
parent 2b71789e15
commit c940676bdd

2
benchmarks/video/capture_camera_feed.py Normal file → Executable file
View File

@@ -55,7 +55,7 @@ def display_and_save_video_stream(output_dir: Path, fps: int, width: int, height
if not ret:
print("Error: Could not read frame.")
break
rr.log("video/stream", rr.Image(frame.numpy()), static=True)
rr.log("video/stream", rr.Image(frame), static=True)
cv2.imwrite(str(capture_dir / f"frame_{frame_index:06d}.png"), frame)
frame_index += 1