viz3dvideo.overlay package
Submodules
viz3dvideo.overlay.image module
- viz3dvideo.overlay.image.image_on_video(video_path, image_path, position=(0, 0), output_path='output.mp4')
Overlays an image on every frame of a video.
- Parameters:
video_path (str) – Path to the original video file.
image_path (str) – Path to the image to overlay (supports PNG transparency).
position (tuple) – (x, y) position in pixels where the image will be placed on the video.
output_path (str) – Path for the resulting video with the overlay.
- Returns:
None
Module contents
viz3dvideo.overlay
Subpackage for overlaying images on videos.
Provides functions to overlay static images on every frame of a video.
Available functions:
image_on_video(video_path, image_path, position=(0,0), output_path=”output.mp4”)
Example:
from viz3dvideo.overlay import image_on_video
image_on_video("video.mp4", "logo.png", position=(50,50))