Identification and Localization of Cometary Activity in Solar System Objects with Machine Learning