Text this: Weakly supervised semantic segmentation and optimization algorithm based on multi-scale feature model