Release GPU memory when done detecting features.
Find max hull using Numpy.