The Foundry Nuke - Stabilized Crop script
Use this script to optimise frame sequences before sending the smallest necessary frame area to ComfyUI, VitMatte, or another GPU-memory-hungry processing or compositing step. It works with RotoShapes, Crop, and CurveTool. Use the offset parameter to enlarge or reduce the bounding box.
Python Script is here on Github
Demo video