You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a Python script to visualize LiDAR point cloud data projected onto a camera image. The project is part of the "Software Development Methods" lecture in the Advanced Driver Assistance Systems (ADAS) Master's program (2025).
Overview
The script performs the following tasks:
Reads camera image and LiDAR point cloud
Applies extrinsic and intrinsic camera calibration
Projects 3D LiDAR points into the 2D image plane
Colors projected points based on LiDAR intensity
Displays the resulting image overlay
This visualization helps understand the sensor fusion pipeline, particularly the spatial alignment between LiDAR and camera systems.
File Structure
├── main.py # Entry point: performs projection and visualization
├── image_reader.py # Utility to read and preprocess image files
├── lidar_reader.py # Utility to load and parse PCD files
├── data/
│ ├── 018282150.png # Sample image
│ └── 018282150.pcd # Corresponding LiDAR point cloud
Requirements
Make sure you have the following installed:
Python 3.8+
NumPy
Matplotlib
Pandas
You can install dependencies using:
pip install numpy matplotlib pandas
or alternatively
pip install -r requirements.txt
Usage
To run the script:
python main.py
Make sure the data directory contains the corresponding .png and .pcd files with matching filenames.