Software
dex-retargeting
By dexsuite, from github.com/dexsuite/dex-retargeting (opens in a new tab)
- Humanoids and robot learning
- Library
- MIT
A Python library that retargets human hand motion onto robot hands using several optimization methods. It is aimed at teleoperation and post-processing human hand data for robot imitation.
- Stale. No commit in 12 months: the newest is from 5 Apr 2025.
Facts
- GitHub stars
- 1,324read on 28 Nov 2026
- Last update
- 5 Apr 2025Newest commit on main
- Maintenance
- Staleno commit in 12 months
- Difficulty
- Intermediate
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 3f56141 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides multiple retargeting optimizers that map human hand poses to robot hand joint positions.
- Supports retargeting from human hand video, for example for teleoperation.
- Supports retargeting from hand-object pose datasets, for use in robot imitation learning.
- Includes a helper for mapping retargeted joint positions onto simulator joint orders using joint names.
- Robot hand models come from the dex-urdf project and kinematics are based on pinocchio.
- Installable with pip; an optional extra adds dependencies for the examples.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- Used by RAPID Hand.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
pip install dex_retargetingWhere it comes from- Maintenance
- Stale, last commit on 5 Apr 2025.
Works with
The robots on Robotheca that use it or can run it, each with how the link was found.
- Ready to buildPhoto on GitHub
Found by Robotheca in RapidTeleop/requirements.txt (opens in a new tab)
Use it
Copied word for word from the creator's own documentation; each block links to the lines it comes from.
Installation (step 1 of 2)
pip install dex_retargetingInstallation (step 2 of 2)
git clone https://github.com/dexsuite/dex-retargeting
cd dex-retargeting
pip install -e ".[example]"Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/dexsuite/dex-retargeting (opens in a new tab)
- The version Robotheca read3f56141 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by dexsuite, at commit 3f56141, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
Dex Retargeting
Various retargeting optimizers to translate human hand motion to robot hand motion.
(opens in a new tab) (opens in a new tab)
Image: pypi (opens in a new tab) (opens in a new tab)
This repo originates from AnyTeleop Project (opens in a new tab)

Installation
pip install dex_retargeting
To run the example, you may need additional dependencies for rendering and hand pose detection.
git clone https://github.com/dexsuite/dex-retargeting
cd dex-retargeting
pip install -e ".[example]"
Changelog
v0.5.0
-
Numpy Support Update: Starting from this version,
dex-retargetingsupportsnumpy >= 2.0.0. If you need to usenumpy < 2.0.0, you can install an earlier version ofdex-retargetingusing:pip install "dex-retargeting<0.5.0" -
Mediapipe Compatibility: Although
mediapipelistsnumpy 1.xas a dependency, it is compatible withnumpy >= 2.0.0. You can safely ignore any warnings related to this and continue usingnumpy 2.0.0or higher. -
Dependency Cleanup: Removed
trimeshas a dependency to simplify installation and reduce potential conflicts. The core functionality ofdex-retargetingno longer requires mesh processing capabilities.
Examples
Retargeting from human hand video
This type of retargeting can be used for applications like teleoperation, e.g. AnyTeleop (opens in a new tab).
Tutorial on retargeting from human hand video (opens in a new tab)
Retarget from hand object pose dataset

This type of retargeting can be used post-process human data for robot imitation, e.g. DexMV (opens in a new tab).
Tutorial on retargeting from hand-object pose dataset (opens in a new tab)
FAQ and Troubleshooting
Joint Orders for Retargeting
URDF parsers, such as ROS, physical simulators, real robot driver, and this repository, may parse URDF files with
different joint orders. To use dex-retargeting results with other libraries, handle joint ordering explicitly using
joint names, which are unique within a URDF file.
Example: Using dex-retargeting with the SAPIEN simulator
from dex_retargeting.seq_retarget import SeqRetargeting
retargeting: SeqRetargeting
sapien_joint_names = [joint.get_name() for joint in robot.get_active_joints()]
retargeting_joint_names = retargeting.joint_names
retargeting_to_sapien = np.array([retargeting_joint_names.index(name) for name in sapien_joint_names]).astype(int)
# Use the index map to handle joint order differences
sapien_robot.set_qpos(retarget_qpos[retargeting_to_sapien])
This example retrieves joint names from the SAPIEN robot and SeqRetargeting object, creates a mapping
array (retargeting_to_sapien) to map joint indices, and sets the SAPIEN robot's joint positions using the retargeted
joint positions.
Citation
This repository is derived from the AnyTeleop Project (opens in a new tab) and is subject to ongoing enhancements. If you utilize this work, please cite it as follows:
@inproceedings{qin2023anyteleop,
title = {AnyTeleop: A General Vision-Based Dexterous Robot Arm-Hand Teleoperation System},
author = {Qin, Yuzhe and Yang, Wei and Huang, Binghao and Van Wyk, Karl and Su, Hao and Wang, Xiaolong and Chao, Yu-Wei and Fox, Dieter},
booktitle = {Robotics: Science and Systems},
year = {2023}
}
Acknowledgments
The robot hand models in this repository are sourced directly from dex-urdf (opens in a new tab). The robot kinematics in this repo are based on pinocchio (opens in a new tab). Examples use SAPIEN (opens in a new tab) for rendering and visualization.
The PositionOptimizer leverages methodologies from our earlier
project, From One Hand to Multiple Hands (opens in a new tab).
Additionally, the DexPilotOptimizeris crafted using insights from DexPilot (opens in a new tab).
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.