Smart Waste Management: An AI-Trainable Trash Bin for Optimized Waste Segregation