Skip to content
tkdyun.xyz

Object Detection and Grid Map Generation for Disaster Rescue

YOLO object detection and UNet grid maps, TensorRT optimization on Jetson Nano

Computer Vision

Year
2025
Role
Team · Lead • 2 Members
Stack
YOLO · UNet · TensorRT · Isaac Sim · C++
View on GitHub

Overview

In the summer of 2025, torrential rain in Korea caused massive casualties. It was immediately clear how difficult it is to respond quickly to a disaster that strikes without warning. Humans can't fly. That makes it especially hard to respond quickly when roads are submerged or in dense, high-traffic urban areas during a disaster. I concluded that drones — which can fly and don't require large amounts of manpower — are well suited as rescue robots.
I developed an AI-based system that can be mounted on a drone system for disaster rescue. It rapidly identifies stranded victims and obstacles in a disaster scene, and generates a grid map of the surrounding environment so a rescue path can be planned.

This pipeline uses two neural networks together — YOLO for object detection and UNet for grid map generation — optimized for real-time edge inference on a Jetson Nano using TensorRT.

Preview

1 — Synthetic Data with Isaac Sim

There is growing demand for solving tasks that occur rarely but have a major real-world impact — disaster response and semiconductor defect detection among them. However, one of the biggest challenges with these approaches is the lack of training data. Using NVIDIA Isaac Sim and its Replicatorfeature, I built a photorealistic 3D flooded-area environment and generated a total of 5,000 synthetic images.

Isaac Sim synthetic scene

2 — Dual-Model Architecture

  1. YOLO: High-speed object detection — identifies stranded people, debris obstacles, and safe goal points.
  2. UNet: Semantic segmentation that generates a grid map of navigable water vs. obstacles for path planning.
YOLO detection result
YOLO detection result
UNet grid map
UNet grid map output

3 — TensorRT C++ Inference

Running two heavy neural networks simultaneously on a Jetson Nano requires essential compute optimization. The inference pipeline was ported to C++ using the TensorRT (NvInfer) API.

UNet TensorRT Wrapper

void infer(const cv::Mat& bgr, cv::Mat& gridA, cv::Mat& gridB) {
  cv::Mat resized, rgb;
  cv::resize(bgr, resized, {inW_, inH_});
  cv::cvtColor(resized, rgb, cv::COLOR_BGR2RGB);

  cudaMemcpyAsync(buffers_[inIdx_], hostIn.data(),
    hostIn.size()*sizeof(float), cudaMemcpyHostToDevice, stream_);

  ctx_->enqueueV2(buffers_.data(), stream_, nullptr);
  gridA = fetch(outIdxs_[0]);
  gridB = fetch(outIdxs_[1]);
}

Unified Execution

./trt_yolo \
  --engine ../yolo_model.fp16.416.engine \
  --engine-obst ../obst_model.fp16.416.engine \
  --engine-goal ../goal_model.fp16.416.engine \
  --input ../output_toslow.mp4 \
  --grid-out ../output_grid/ \
  --save ../result.mp4 --display

By combining Isaac Sim's synthetic data with TensorRT edge inference, this system demonstrates how AI can be leveraged in urgent, time-critical disaster scenarios. The dual-model approach lets a rescue vehicle know not just what is in its path, but also how to safely avoid it.

Search the site

Choose a destination, or type to search.