Skip to content

Commit b078d83

Browse files
authored
Remove timestamp from metadata in video capture
1 parent 9d72f69 commit b078d83

File tree

1 file changed

+1
-0
lines changed
  • node-hub/opencv-video-capture/opencv_video_capture

1 file changed

+1
-0
lines changed

node-hub/opencv-video-capture/opencv_video_capture/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def main():
138138
frame = cv2.resize(frame, (image_width, image_height))
139139

140140
metadata = event["metadata"]
141+
metadata.pop("timestamp", None)
141142
metadata["encoding"] = encoding
142143
metadata["width"] = int(frame.shape[1])
143144
metadata["height"] = int(frame.shape[0])

0 commit comments

Comments
 (0)