Skip to content

Zarxrax/Sammie-Roto

Repository files navigation

Sammie-Roto

Segment Anything Model with Matting Integrated Elegantly

Sammie-Roto screenshot

Sammie-Roto is designed to be a user-friendly tool for AI assisted masking of video clips. It serves as a free alternative to commercial solutions such as Adobe’s Roto Brush or DaVinci Resolve's Magic Mask. It is generally less accurate than manual rotoscoping, but can usually give a pretty good result with little effort.

Updates

  • [09/22/2025] Added PNG Export, import image sequences, fixed bugs in matting export, and load videos via CLI.
  • [08/23/2025] Added options on the export tab to put various information into the filename.
  • [08/16/2025] Added border fix slider to help fix masks around the edge of the frame. Reduced VRAM used during matting.
  • [08/03/2025] Added deduplication to reduce chatter around edges on anime content.
  • [05/10/2025] Added support for importing/exporting single images. Export settings are now remembered.
  • [04/23/2025] Added installer for Linux/Mac, reduced VRAM consumption, several improvements and bug fixes
  • [04/04/2025] Added some adjustment sliders to the Matting page.
  • [02/26/2025] Added human video matting support though MatAnyone, along with many other improvements.
  • [01/26/2025] Initial release

Features

  • Supports Windows, Linux, and Mac
  • Simple installer automatically downloads all dependencies and models
  • Can run on as little as 4GB VRAM or even on CPU (but 6GB Nvidia GPU is recommended)
  • Includes 3 segmentation models: Sam 2.1 Large, Sam 2.1 Base+, and EfficientTAM_s_512x512.
  • Supports MatAnyone model for human video matting.
  • Easy to use interface.
  • Multi-object support.
  • Various mask postprocessing options, including edge-smoothing.
  • Supports deduplication to reduce chatter around edges on anime content.
  • Multiple export options: Black and White Matte, Alpha channel, and Greenscreen.

Installation (Windows):

  • Download latest Windows version from releases
  • Extract the zip archive.
  • Run 'install_dependencies.bat' and follow the prompt.
  • Run 'run_sammie.bat' to launch the software.

Everything is self-contained in the Sammie-Roto folder. If you want to remove the application, simply delete this folder. You can also move the folder.

Installation (Linux, Mac)

  • Ensure Python is installed (version 3.10 or higher)
  • Download latest Linux/Mac version from releases
  • Extract the zip archive.
  • Open a terminal and navigate to the Sammie-Roto folder that you just extracted from the zip.
  • Execute the following command: bash install_dependencies.sh then follow the prompt.
  • MacOS users: double-click "run_sammie.command" to launch the program. Linux users: bash run_sammie.command or execute the file however you prefer.

Tutorial

Sammie-Roto Tutorial

Acknowledgements

About

Sammie-Roto is a tool for AI assisted masking / background removal

Resources

License

Stars

Watchers

Forks

Languages