robotics_toolbox.utils.animation_utils.create_mp4_from_folder

robotics_toolbox.utils.animation_utils.create_mp4_from_folder(folder='/tmp/animation', output=None, fps=10)

From the folder that contains images names img_X.png, create mp4 animation.

Parameters:
  • folder (Path | str)

  • output (str | Path | None)

  • fps (int)