The integration of Internet of Things (IoT) technology has profoundly transformed urban life, particularly in the realm of parking management. Smart parking systems harness the capabilities of IoT to optimize parking space utilization, alleviate congestion, and elevate user experience. This chapter delves into the intricate process of data collection within IoT-enabled smart parking environments, with a specific emphasis on the seamless integration of machine learning and artificial intelligence (AI) techniques. By conducting a comprehensive analysis of various data sources, machine learning algorithms, and AI technologies, this chapter elucidates how smart parking systems leverage intelligent data collection and analysis to enhance operational efficiency and effectiveness. Through the convergence of IoT, machine learning, and AI, smart parking systems are poised to revolutionize urban mobility and drive sustainable urban development.