Text this: Optimization of automated garbage recognition model based on ResNet-50 and weakly supervised CNN for sustainable urban development