Autocrop in Natron

I have a large number of images that I would like to automatically crop, based on the alpha channel, and output.
In Photoshop there is trim, but batch in Photoshop is painfully slow.
There is an autocrop python script for Nuke, but I have no idea if it can be used in Natron in any way.

Does anyone have any ideas on how to do this?