Have a look at some of the machine learning demos of what Nuke can do.
https://community.foundry.com/cattery