This repository contains the code and sample dataset for tracking objects using the KaAI-DD dataset. The system combines image and LiDAR data, leveraging a Kalman filter and the Hungarian algorithm for efficient and accurate real-time tracking.
- Multimodal Data Integration: Combines image and LiDAR data for robust object tracking.
- Kalman Filter: Used for estimating the position and velocity of tracked objects.
- Hungarian Algorithm: Ensures optimal matching of tracked objects using cost matrices.
- ResNet-50: Extracts feature vectors from images for improved visual tracking.
-
Set Up Paths:
- Modify the paths in the code:
line 51
: Set to the path containing the annotated JSON files for the point cloud data.line 52
: Set to the path containing the image files (.png) from the forward camera (flir4
).line 53
: Set to the path containing the LiDAR files (.pcd).
- Modify the paths in the code:
-
Adjust Folder Name:
- Modify the folder name in
lines 207 and 208
to match the format2024xxxx_drive_
, wherexxxx
should be adjusted accordingly.
- Modify the folder name in
-
Run the Tracking Process:
- After making the necessary modifications, run the following command in the terminal:
python 3D_TRACKING.py
-
Validate Results:
- Validate the tracking results using SustechPoint as per the annotation method described.
-
Set Up Path:
- Modify the path in
line 81
to point to the directory containing the 2D labels for the forward camera.
- Modify the path in
-
Run the Tracking Process:
- After modifying the path, run the following command in the terminal:
python 2D_TRACKING.py
- Ensure all paths are correctly set up before running the tracking scripts.
- The system is designed for real-time object tracking and is optimized for use with the KaAI-DD dataset.
- A sample dataset has been provided in this repository to help you get started.