An end-to-end pollution analysis and detection system using artificial intelligence and object detection algorithms