GDPR compliance and AI-based waste analysis: understanding the regulatory framework