begin modifying JRConvexHull to allow objectdetect