AI-based system for food waste reduction and composting