Intelligent Transportation Systems (ITS) applications are becoming increasingly valuable and widespread in modern urban environments. According to the NVIDIA Technology Blog, these systems offer significant benefits, including increased transportation efficiency, increased safety, and improved environmental sustainability.
Enhancing transportation systems with YOLOv8 and JetPack 6.0
ITS’ latest advancement leverages new Jetson platform services in NVIDIA JetPack 6.0 to enable a comprehensive traffic analytics solution at the edge. This setup includes video collection and storage using the Video Storage Toolkit (VST) service, real-time object detection and vehicle tracking using YOLOv8 and DeepStream AI Perception services, and spatiotemporal analysis of vehicle movements. Then leverage our API to generate actionable traffic insights.
Key Benefits of Jetson Platform Services
Building and deploying AI applications using Jetson platform services and NVIDIA JetPack provides numerous benefits, including:
- Fast and efficient solution: Reduce solution implementation time with a collection of optimized API-based microservices.
- scalability: Microservices architecture allows components to scale independently based on demand.
- modularity: Applications are split into smaller services, simplifying updates, maintenance, and troubleshooting.
- flexibility: Services can be customized to fit specific ITS requirements, including traffic monitoring, intersection management, and pedestrian safety.
Application overview
This ITS application uses three primary services: the Video Storage Toolkit (VST) service, the AI Perception service, and the AI Analytics service. Several native services support these native services, such as Redis message bus, API gateway, and IoT gateway. VST efficiently manages video streams on Jetson-based platforms, providing hardware-accelerated video decoding, streaming, and storage from multiple video sources. Video data flows to the AI Perception service leveraging NVIDIA DeepStream SDK and YOLOv8 for high-throughput object detection and tracking.
YOLOv8 for object detection
YOLOv8 is a state-of-the-art object detection model known for its speed and accuracy. Its lightweight architecture makes it ideal for edge devices like the NVIDIA Jetson. YOLOv8 can detect and classify objects such as vehicles, pedestrians, and traffic signs in real time, providing essential data to manage and optimize traffic flow, enhance road safety, and support automated transportation systems.
Vehicle analysis using AI analysis service
You can perform vehicle traffic analysis using the Tripwire (or primary vehicle) and Trajectory functions of the AI Analytics service. These analyzes include heat maps of total vehicle count, traffic trends, and vehicle traffic flow.
Tripwire configuration
You can configure Tripwire analytics for specific sensors using the REST API. These virtual lines drawn in the camera plane count the number of objects that cross the line in any direction. The total number of object crossings can be retrieved through the Tripwire counts API and provides detailed traffic analysis for specific time ranges.
Traffic trend histogram visualization
The Tripwire Count Histogram API aggregates total counts into smaller time windows, allowing detailed visualization of traffic trends over time. This information can be displayed as a stacked histogram showing the number of traffic in a specific interval.
Vehicle trajectory heatmap visualization
Heatmaps visualize traffic flow over time by accumulating individual travel trajectories and mapping them spatially. This is achieved by calculating a histogram of trajectory coordinates and applying a Gaussian filter for smoothing. You can retrieve detailed trajectory motion using the AI Analytics service’s motion API.
summary
Integrating YOLOv8 and NVIDIA JetPack 6.0 into ITS applications provides a powerful solution for real-time traffic management and analytics. These technologies enable efficient traffic flow, improved road safety and improved environmental sustainability. Developers can leverage Jetson platform services to build and deploy sophisticated AI applications at the edge to generate valuable transportation insights and optimize urban transportation systems.
Image source: Shutterstock