Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WiLoR hand 3d pose estimation! Simplifying WiLoR into a python package!

Notifications You must be signed in to change notification settings

warmshao/WiLoR-mini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

27 Commits

Repository files navigation

WiLoR-mini: Simplifying WiLoR into a Python package

Original repository: WiLoR, thanks to the authors for sharing

I have simplified WiLoR, focusing on the inference process. Now it can be installed via pip and used directly, and it will automatically download the model.

How to use?

Note: make sure you are using Python3.10

  • install: pip install git+https://github.com/warmshao/WiLoR-mini
  • Usage:
import torch
import cv2
from wilor_mini.pipelines.wilor_hand_pose3d_estimation_pipeline import WiLorHandPose3dEstimationPipeline
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
dtype = torch.float16
pipe = WiLorHandPose3dEstimationPipeline(device=device, dtype=dtype)
img_path = "assets/img.png"
image = cv2.imread(img_path)
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
outputs = pipe.predict(image)

For more usage examples, please refer to: tests/test_pipelines.py

Demo

video-ff.mp4

About

WiLoR hand 3d pose estimation! Simplifying WiLoR into a python package!

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

Languages

AltStyle によって変換されたページ (->オリジナル) /