# TLC-Calib **Repository Path**: carlin314/TLC-Calib ## Basic Information - **Project Name**: TLC-Calib - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-26 - **Last Updated**: 2026-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Targetless LiDAR-Camera Calibration with
Neural Gaussian Splatting

Haebeom Jung1 · Namtae Kim1 · Jungwoo Kim2 · Jaesik Park1

1Seoul National University · 2Yonsei University

IEEE RA-L 2026 (ICRA 2026)

TLC-Calib demo video

TLC-Calib is a targetless LiDAR-camera calibration framework based on Neural Gaussian Splatting. Given multi-camera images, LiDAR poses, and a LiDAR scan, TLC-Calib jointly optimizes a neural scene representation and the LiDAR-camera extrinsics without requiring calibration boards or manually designed targets. We also provide a web viewer for real-time inspection of the calibration process.


**Updates:** - 🎉 May 23, 2026: Release the full codebase. - 📦 Apr 15, 2026: Release processed public datasets in the TLC-Calib format. - 📝 Jan 13, 2026: Paper accepted to IEEE RA-L 2026. ## Installation Clone the repository with submodules: ```bash git clone https://github.com/SNU-VGILab/TLC-Calib.git --recursive ``` ```bash cd TLC-Calib ``` If you already cloned the repository without `--recursive`, initialize the submodules with: ```bash git submodule update --init --recursive ``` Create the conda environment: ```bash conda env create -f environment.yml ``` ```bash conda activate tlc_calib ``` The provided environment has been tested with `PyTorch 2.1.2` and `CUDA 11.8`. The CUDA rasterizer and `simple-knn` extensions are installed from the local submodules through `environment.yml`. ## Data Preparation We provide processed versions of public datasets such as KITTI-360 and FAST-LIVO2 in the TLC-Calib format through [Hugging Face](https://huggingface.co/datasets/b1o1o1m/TLC-Calib). Waymo-derived processed data is not redistributed. To use Waymo data, please follow the [Waymo README](https://huggingface.co/datasets/b1o1o1m/TLC-Calib/blob/main/Waymo/README.md) and process it locally with the [TLC-Calib preprocessing repository](https://github.com/zang09/TLC-Calib_preprocessing). Install the Hugging Face Hub CLI and download the processed TLC-Calib dataset before running training or evaluation: ```bash pip install -U huggingface_hub ``` ```bash hf download b1o1o1m/TLC-Calib \ --repo-type dataset \ --local-dir data/TLC-Calib ``` If the downloaded repository contains zip archives, extract them in place: ```bash cd data/TLC-Calib ``` ```bash find . -name "*.zip" -execdir unzip -n "{}" \; ``` The `-n` option keeps existing extracted files and avoids overwriting them. After confirming that all archives were extracted correctly, you can remove the downloaded zip files: ```bash find . -name "*.zip" -delete ``` **Caution:** this permanently deletes every `.zip` file under the current directory, so run it only from `data/TLC-Calib` after checking the extraction results.
Dataset format details Each scene contains synchronized camera images, LiDAR poses, camera intrinsics, LiDAR-camera extrinsics, per-frame point clouds, and scene-level LiDAR maps. The dataset root follows this structure: ```text / ├── images/ # image_00, image_01, ... │ ├── image_00/ │ ├── image_01/ │ ├── ... │ └── image_XX/ ├── lidar/ # rgb_map.ply, map.ply ├── params/ # poses, intrinsics, extrinsics, timestamps ├── pcds/ # per-frame LiDAR point clouds ├── README.md └── valid_frame.txt ``` All modalities use the same zero-based local frame index. For example, `images/image_00/000123.png`, `pcds/000123.pcd`, and line `123` in `params/lidars.txt` refer to the same sample. Important files in `params/` include `intrinsics.txt`, `lidars.txt`, `cams_to_lidar_gt.txt`, `cams_to_lidar_init.txt`, optional `timestamps.txt`, and camera-indexed files such as `cam0.txt` and `cam0_to_lidar.txt`. Supported dataset names include `KITTI-360`, `Waymo`, and `FAST-LIVO2`. Custom data can use the same layout. For more details, please refer to the [Dataset README](https://huggingface.co/datasets/b1o1o1m/TLC-Calib/blob/main/README.md) on Hugging Face.
## Calibration Run the default TLC-Calib optimization with: ```bash python train.py -s -m \ --eval --from_lidar --use_rig --opt_pose --pose_scheduler --adaptive_voxel \ --dataset ``` Example: ```bash python train.py -s data/TLC-Calib/KITTI-360/large_rotation \ -m outputs/kitti-360/large_rotation/eval \ --eval --from_lidar --use_rig --opt_pose --pose_scheduler --adaptive_voxel \ --dataset kitti-360 ```
Useful training options - `--from_lidar`: initialize camera poses from LiDAR poses. If disabled, camera poses are initialized from the ground-truth LiDAR-camera extrinsics. - `--use_rig`: optimize one shared rig transform per camera. - `--opt_pose`: enable calibration pose optimization. - `--pose_scheduler`: schedule pose optimization during training. - `--adaptive_voxel`: compute the LiDAR voxel size from trajectory length. - `--refine`: run an additional NVS refinement stage after calibration. - `--viewer --port 8080`: launch the web viewer to monitor the calibration process in real time. - `--viewer_camera_step`: show every N-th camera frame in the viewer to keep visualization lightweight for long sequences.
## Evaluation Evaluate calibration pose errors for one trained output: ```bash python metrics_pose.py -m ``` This writes pose calibration results to: ```text /rig_results.json ```
Evaluate NVS quality using the calibrated LiDAR-camera poses: ```bash python metrics_nvs.py -m ``` This writes the NVS evaluation output to: ```text /nvs_eval/ours_30000/ /nvs_results.json ```
NVS evaluation details `metrics_nvs.py` reads `/config.yml` to recover the source scene, then runs `nvs_eval/train.py` with `/point_cloud/iteration_30000/cams_to_lidar.txt` as the prior pose.

Run full evaluation over a dataset root: ```bash python full_eval.py \ --data_path \ --output_path outputs \ --datasets kitti-360 waymo fast-livo2 \ --repeat 1 ``` If `--data_path` is omitted, update `DEFAULT_DATA_PATH` in `full_eval.py` to the location where you downloaded the processed TLC-Calib dataset. For each scene/run, `full_eval.py` runs calibration training, pose metrics, NVS metrics, and scene-level aggregation. Extra training options are forwarded to `train.py`.
Aggregate existing outputs without retraining The `-a` path can be any output level: ```bash python full_eval.py -a # e.g., outputs/kitti-360/straight/ python full_eval.py -a # e.g., outputs/kitti-360/ python full_eval.py -a # e.g., outputs/ ``` - `` aggregates one scene and writes `exp_rig_results.json`, `exp_nvs_results.json`, and `train_results.json` inside that scene directory. - `` aggregates every scene under one dataset output directory, then writes `/full_eval_results.json`. - `` aggregates every dataset output directory under the root, then writes one `full_eval_results.json` inside each dataset output directory. For each scene output, aggregation averages pose, NVS, and training results across run directories such as `eval_01` or `eval_02`.
## Rendering (Optional)
Show optional rendering instructions **`render.py` directly visualizes the trained TLC-Calib calibration model.** It is useful for inspecting the calibration training output itself, but it does not retrain an NVS model or compute PSNR/SSIM/LPIPS. **For NVS benchmark images and metrics, use `metrics_nvs.py`.** `metrics_nvs.py` retrains the NVS model with the calibrated poses and writes rendered test images plus `PSNR`, `SSIM`, and `LPIPS`. Render train or test views from a saved calibration model: ```bash python render.py -m --iteration 30000 ``` Rendered images, ground truth images, error maps, and comparison images are stored under `train/ours_/` and `test/ours_/`.
## Outputs A standard run saves: - `config.yml`: training and dataset configuration for reproduction. - `point_cloud/iteration_/`: optimized Gaussian representation and calibrated rig files. - `train_info.json`: training time and memory statistics. - `outputs.log`: training and evaluation logs. - `rig_results.json`: rotation and translation calibration errors for each camera plus an `Average` entry. - `train/` and `test/`: rendered evaluation views when rendering is requested. ## Acknowledgement This repository builds on the excellent open-source projects [3D Gaussian Splatting](https://github.com/graphdeco-inria/gaussian-splatting), [Scaffold-GS](https://github.com/city-super/Scaffold-GS), and [MonoGS](https://github.com/muskie82/MonoGS). We thank the authors for making their code available to the research community. ------ If you use our paper, code, dataset, or any part of this repository in your research, please cite our work: ```bibtex @article{jung2026targetless, title = {{Targetless LiDAR-Camera Calibration with Neural Gaussian Splatting}}, author = {Jung, Haebeom and Kim, Namtae and Kim, Jungwoo and Park, Jaesik}, journal = {IEEE Robotics and Automation Letters}, volume = {11}, number = {4}, pages = {4777--4784}, year = {2026}, doi = {10.1109/LRA.2026.3665066} } ```