Skip to content

brentyi/hamer_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hamer_helper

viser logo

A small wrapper around HaMeR for 3D hand estimation from RGB images.

We provide a modular API (HamerHelper()) and an example script (inference.py).

Instructions

  1. Set up an environment with the original HaMeR repo: https://github.com/geopavlakos/hamer
  2. Make sure the HaMeR demo script works.
  3. pip install git+https://github.com/brentyi/hamer_helper.git

Example script

$ python inference.py --help
usage: inference.py [-h] --input-dir PATH --output-dir PATH [--search-ext [STR [STR ...]]]

For each image in the input directory, run HaMeR and composite the detections.

╭─ options ─────────────────────────────────────────────────────────────────────────────────────────────────╮
│ -h, --help              show this help message and exit                                                   │
│ --input-dir PATH        The directory to search for images. (required)                                    │
│ --output-dir PATH       The directory to write the composited images. (required)                          │
│ --search-ext [STR [STR ...]]                                                                              │
│                         Image extensions to search for in the input directory. (default: .jpg .jpeg .png) │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published