🎨 Visualization gallery
A tour of what SimBA can render — plotting outputs and the video/image processing tools. Each tile links to the code that produces it, where you’ll find the full API, options and a playable demo.
See also
For step-by-step instructions, see the visualization tutorials.
Plotting
Blob plotter
Plot the results of animal tracking based on blob.
Visualize blob tracking data by overlaying geometric shapes and body part markers on video frames.
Visualize SimBA computed cue-light ON and OFF states and the aggregate statistics of ON and OFF states.
Tabular data visualization of animal movement and distances in the current frame and their aggregate statistics.
Directing other animals visualizer
Create videos visualizing when animals direct their gaze toward body parts of other animals (single-threaded).
Visualize frame-wise body-part distances as line plots using single-core processing.
Merge separate visualizations of classifications, descriptive statistics etc., into single video mosaic.
A class for creating overlay geometry visualization videos based on provided geometries and video name.
Interactive probability grapher
Launch interactive GUI for inspecting classifier probabilities with synchronized video playback.
Generate annotated videos visualizing behavior episodes in a light/dark box setup.
Create “path plots” videos and/or images detailing the movement paths of individual animals in SimBA.
Create pose-estimation visualizations from data within a SimBA project folder using multiprocessing.
Visualizing features that depend on the relationships between the location of the animals and user-defined ROIs.
Visualize the ROI data (number of entries/exits, time-spent in ROIs) using multiprocessing for improved performance.
ROI plotter
Visualize the ROI data (number of entries/exits, time-spent in ROIs etc).
Calculate aggregate (binned) SHAP value statistics where individual bins represent reaulated features.
Create pose-estimation videos rendered on a solid RGB background from SimBA CSV data.
Spontaneous alternations plotter
Create plots representing delayed-alternation computations overlayed on video.
Create classifier validation video for a single input video using multiprocessing for improved performance.
Visualizes YOLO-based keypoint pose estimation data on video frames and creates an annotated output video.
Video & image tools
Create a user interface using OpenCV to explore and change the brightness and contrast of a video.
Convert a directory containing videos, or a single video, to AVI format using passed quality and codec.
Convert a directory containing videos, or a single video, to MP4 format using passed quality and codec.
Convert a directory containing videos, or a single video, to WEBM format using passed quality and codec.
Convert the file type of all image files within a directory to WEBP format of passed quality.
Create an image representing the average frame of a segment in a video or an entire video.
Crop multiple videos based on circular regions of interest (ROIs) selected by the user.
Crop a single video using ~simba.video_processors.roi_selector.ROISelector interface.
Crop a video based on circular regions of interest (ROIs) selected by the user.
Crop a video based on polygonal regions of interest (ROIs) selected by the user.
Egocentric video rotator
Perform egocentric rotation of a video using CPU multiprocessing.
Flip a video or directory of videos horizontally, vertically, or both, and save them to the specified directory.
Apply SLIC superpixel segmentation to all frames of a video and save the output as a new video.
Create a user interface using OpenCV to explore and set appropriate CLAHE settings tile size and clip limit.
Create a mixed mosaic video by concatenating multiple input videos in a mosaic layout of various sizes.
Crop each video of a specific file format (e.g., mp4) in a directory into N smaller cropped videos.
Reverses one or more video files located at the specified path and saves the reversed videos in the specified directory.
Blurs either the selected or unselected portion of a user-specified region-of-interest according to the passed blur level.
Class for selecting a circular region of interest (ROI) within an image or video frame.
Class for selecting a polygonal region of interest (ROI) within an image or video frame.
Superimposes elapsed time on the given video file(s) and saves the modified video(s).
Superimposes passed text on the given video file(s) and saves the modified video(s).
Inset a video overlay on a second video with specified size, opacity, and location.
Superimposes the video name on the given video file(s) and saves the modified video(s).
Watermark a video file or a directory of video files with specified watermark size, opacity, and location.