Main public logs

From Master of Neuroscience Wiki

Combined display of all available logs of Master of Neuroscience Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 09:30, 21 October 2025 Davrot talk contribs created page OpenCV2: Play, write, read a video (Created page with "How to playback a video? Howto save it into a mp4 file? Howto load from a mp4 file? Questions to [mailto:davrot@uni-bremen.de David Rotermund] == Write the video into a mp4 file == <syntaxhighlight lang="python"> import numpy as np import cv2 # type: ignore import tqdm # type: ignore def write_video(frames: np.ndarray, filename: str = "test", fps: float = 20.0) -> None: assert len(filename) > 0, "write_video: Filename is empty." assert frames.size > 0, "wri...") Tag: Visual edit