Skip to content

DrErwin/RMF-ED

Repository files navigation

RMF-ED: Real-Time Multimodal Fusion for Enhanced TargetDetection in Low-Light Environments

This is the code files of paper RMF-ED: Real-Time Multimodal Fusion for Enhanced Target Detection in Low-Light Environments.

Brief introduction

In this study, we introduce RMF-ED (Real-Time Multimodal Late Fusion for Enhanced Detection), a multi-modality fusion framework designed to overcome the limitations of low-light target detection. By leveraging the complementary capabilities of near-infrared (NIR) cameras and LiDAR sensors, RMF-ED enhances detection performance.

An NIR-GAN model was developed to address the lack of annotated NIR datasets, integrating Structural Similarity Index (SSIM) loss and L1 loss functions. This approach enables the generation of high-quality NIR images from RGB datasets, bridging a critical gap in training data.

Results of integrating SSIM & L1 loss

The best propotion of SSIM.

Furthermore, our multimodal late fusion algorithm integrates RGB images, NIR images, and LiDAR point clouds, ensuring consistency and accuracy in proposal fusion. Experimental results on the KITTI dataset demonstrate that RMLF-ED achieves performance comparable to or exceeding state-of-the-art fusion algorithms, with a computational time of only 21ms.

Results of our methods on KITTI dataset

File Structure

The file structure is as follows:

  • devkit_object KITTI Official vision benchmark suit for testing

  • experiment Code for testing and results

  • ICCV_MAET Implementation of Multitask AET with Orthogonal Tangent Regularity for Dark Object Detection(https://github.com/cuiziteng/ICCV_MAET) which generates dark images from normal RGB ones

  • ImageSets Official KITTI files for datasets splitting

  • KITTI_image_modify To modify images from KITTI datasets. Including

  1. Splitting an image in half
  2. Transform RGB images to dark images
  3. Transform RGB images to NIR images

Required Data

You need to download KITTI dataset from https://www.cvlibs.net/datasets/kitti/ Unzip the dataset and put velodyne_reduced, calib, image_2 and label_2 in the same folder

Pretrained model

A pretrained fusion model is available. It is trained under Bounding Box Pair IoU=0.7 and ground truth alignment IoU=0.5 for 200 epoches, which are the standard settings. You can find the model in the root path of this project ./BBP_0.7_GT_0.5.pth

Training

You can train RMLF by the following code

python MLP_train.py --kitti_path path_of_kitti --save_path path_to_save_ckp --epoch trainning_epoch

For example, if you want to train for 200 epoch

python MLP_train.py --kitti_path ../kitti/ --save_path ./ --epoch 200

To modify the IoU threshold of Bounding Box Pair and ground truth alignment, you can change the parameter below in file MLP_utils.py

THRESHOLD_BBP = 0.7
THRESHOLD_GT = 0.5

Generating Results

You can generate detection results by

python MLP_test.py --kittii_path ../kitti/ --ckp_path path_of_MLP_ckp --val_path path_of_val_txt -- result_path path_to_save_results --yolo_path path_of_yolo_ckp

For example, if you want to use YOLOv8 as image backbone

python MLP_test.py --kittii_path path_of_kitti --ckp_path ../../BBP_0.7_GT_0.5.pth --val_path ../../ImageSets/val.txt -- result_path ../results/MLP_results/ --yolo_path ../../yolov8n.pt

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors