Tau-J/rtmlib

RTMPose series (RTMPose, DWPose, RTMO, RTMW) without mmcv, mmpose, mmdet etc.

What it solves

Pose estimation – locating and tracking body keypoints in images or video – traditionally requires heavy frameworks like mmcv, mmpose, and mmdet, which add complexity and dependency bloat to projects. rtmlib removes that burden by providing a super lightweight library that runs RTMPose and ViTPose models with only basic dependencies: numpy, opencv-python, opencv-contrib-python, and onnxruntime.

How it works

rtmlib bundles pre-trained ONNX models for human and animal pose estimation. It offers high-level APIs (e.g., Wholebody, Body, Hand, Animal, PoseTracker) that automatically combine a detector (YOLOX, RFDETR, RTMDet) with a pose estimator (RTMPose, ViTPose) – you just point it at an image or video stream. Users can pick a preset performance mode ('performance', 'lightweight', 'balanced') or feed in custom model URLs and input sizes. For more control, low-level APIs let you directly load detector and pose estimator models. Processing can be accelerated by choosing among backends like opencv, onnxruntime, openvino, or tensorrt. The library also includes a WebUI (via gradio) for interactive use.

Who it’s for

Developers and researchers who need to integrate pose estimation into applications without wrestling with heavy dependencies. It suits real-time use cases like webcam tracking, edge deployment, or rapid prototyping, and covers both human (full-body, hands, 3D) and animal (10 species) pose estimation.

Highlights

  • Minimal dependencies: only numpy, opencv, onnxruntime – no mmcv, mmpose, or mmdet.
  • Multiple inference backends: opencv, onnxruntime, openvino, tensorrt.
  • High-level APIs for wholebody, body, hands, animals, and custom pipelines.
  • Built-in model zoo with numerous RTMPose and ViTPose ONNX models, plus YOLOX/RFDETR/RTMDet detectors.
  • Supports webcam and video file processing via PoseTracker.
  • Automatic model download with a Hugging Face mirror fallback for convenience.

Related

  • Project
  • Project
  • Project
  • Project
  • Project