Skip to content

thetuantrinh/UWB-Radar-Hand-Pose-Estimation

Repository files navigation

FMCW-Radar-Hand-Pose-Estimation

This repo contains code and dataset for manuscript: Real-Time Hand Pose Estimation Using FMCW Radar on Resource-Limited Edge Devices

Index Terms— Cross-Modal Supervision, Deep Learning, Edge Computing, FMCW Radar, Hand Pose Estimation, TensorRT

🎥 Demo

🌙 Demo Results in Dark Scenes

(a) The poses estimated from FMCW Radar signals (b) The poses estimated from Camera signals

Visual comparison between hand key points estimated by proposed RadarNet model and MediaPipe Hands on dark scenes.

🔅 Demo Results in Light Scenes

Visual comparison between hand key points estimated by MediaPipe Hands and proposed RadarNet model. Blue dots are key points estimated by the visual model while red ones are from RadarNet.

🚀 Quickstart

git clone https://github.com/thetuantrinh/UWB-Radar-Hand-Pose-Estimation.git
cd UWB-Radar-Hand-Pose-Estimation

🛠 Environment Setup

The original project was developed on python 3.9.0. We encourage you to create the same python version for reproduce purposes by creating python3.9 with conda by the following script:

conda create --name HPE python==3.9
conda activate HPE

Then install all required libraries:

pip3 install -r requirements.txt

📚 Training

⚠️ Important: Please update the default dataset directory in scripts/train_hpc.sh to the absolute path of your dataset.

1. Structure the project

Before running training scripts, first structure the project by executing:

bash scripts/structure_project.sh
2. Launch training

You can modify training parameters directly in scripts/train_hpc.sh (they are passed to train.py),
or simply start training with:

sbatch scripts/train_hpc.sh

📈 Evaluation

After training, you can evaluate the RadarNet model by running:

bash scripts/eval.sh

📊 Tracking Training with Weights & Biases (Wandb)

Wandb is a great tool for experiment tracking and visualization.
Install with pip:

pip install wandb

⚠️ Potential Problems (HPC without Internet)

If you're training on a machine without internet connection (e.g., an HPC compute node), Wandb will not work online.
To fix this, run in offline mode:

wandb offline

After training, sync all locally saved Wandb logs to the cloud:

wandb sync your-local-wandb-log-folder/offline-run*

👉 Remeber to replace your-local-wandb-log-folder with the path to your actual Wandb logs directory.

🧪 Experimental System Environment:

About

Real-Time Hand Pose Estimation Using FMCW Radar on Resource-Limited Edge Devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published