[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111152":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":30,"discoverSource":31},111152,"FAH","noahcao\u002FFAH","noahcao","FAH: Fast and Accurate Hand Estimation in Pixels, Interaction and World Space",null,"Python",135,13,2,1,0,6,39,58,28,80.64,"Apache License 2.0",false,"main",true,[],"2026-11-20 05:20:01","2026-11-23 20:06:54","# FAH: Fast and Accurate Hand Estimation\n\n[Paper (PDF)](https:\u002F\u002Farxiv.org\u002Fpdf\u002F2611.07711) | [Project page][page]\n\n![FAH](docs\u002Fassets\u002Fteaser_main.jpg)\n\nFAH predicts 2D and 3D hand joints and surface points, then fits MANO, MHR-Hand or both.\nOptional heads add part labels and object-contact probabilities. Video mode refines tracks;\nworld mode adds camera estimation.\n\nFAH-L reaches **4.31 mm HOT3D PA-MPJPE at 65 fps** with mesh fitting on an RTX 4070 Ti SUPER.\nFAH-S runs at 101 fps with fitting, or 125 fps without fitting, parts or contact.\nSee the [project page][page] for results, videos and image credits.\n\n## Install\n\nPython 3.10+ and PyTorch 2.1+ are required. From a clone:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fnoahcao\u002FFAH.git\ncd FAH\npython3.11 -m venv .venv\nsource .venv\u002Fbin\u002Factivate\npip install torch torchvision --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu128\npip install -e \".[trt]\"\n```\n\nOn CPU or Apple silicon, omit the CUDA PyTorch command and install with `pip install -e .`.\nFor uv, use `uv venv --python 3.11` and `uv pip install` instead.\nInference does not require Ultralytics.\n\nRequired files (default root: `~\u002F.cache\u002Ffah`, overridden by `$FAH_HOME`):\n\n1. **FAH weights:** download them to `~\u002F.cache\u002Ffah\u002Fweights`, or set `$FAH_WEIGHTS` \u002F `--weights DIR`.\n   ```bash\n   hf download noahcao\u002FFAH --exclude \"qc\u002F*\" --local-dir ~\u002F.cache\u002Ffah\u002Fweights\n   ```\n   ```text\n   weights\u002F{fah-s,fah-b,fah,fah-h}\u002F{model.pt,config.json,contact.pt,contact_video.pt}\n   weights\u002Fshared\u002F{detector.pt,mesh_fitter.pt,video_refiner.pt,camera_motion.pt,mhr_fitter.pt}\n   ```\n   Verify the inference-only download on Linux with:\n   ```bash\n   (cd ~\u002F.cache\u002Ffah\u002Fweights && grep -v 'qc\u002F' SHA256SUMS | sha256sum -c -)\n   ```\n   On macOS, use `shasum -a 256 -c -`. Download without `--exclude \"qc\u002F*\"` before checking the full\n   manifest with `sha256sum -c SHA256SUMS`.\n\n2. **SAM 3D Body config and MHR model:** accept the [SAM licence on Hugging Face](https:\u002F\u002Fhuggingface.co\u002Ffacebook\u002Fsam-3d-body-dinov3),\n   run `hf auth login`, then:\n   ```bash\n   python -c \"import fah; fah.download_sam3d()\"\n   ```\n   These go to `~\u002F.cache\u002Ffah\u002Fsam-3d-body-dinov3` (`$FAH_SAM3D` \u002F `--sam3d DIR` to override).\n   FAH does not need the SAM 3D Body network checkpoint for inference.\n3. **MANO:** register and download from [mano.is.tue.mpg.de](https:\u002F\u002Fmano.is.tue.mpg.de), then convert:\n   ```bash\n   python bench\u002Fconvert_mano.py mano_v1_2\u002Fmodels ~\u002F.cache\u002Ffah\u002Fmano\n   ```\n   Set `$MANO_DIR` \u002F `--mano_dir` for another location.\n\nOptional extras: `trt` (TensorRT runtime), `engine` (engine builds), `coreml` (Apple silicon),\n`world` (MoGe-2), `offline` (offline camera dependencies), `train`, `eval`, and `contact` (contact label builders).\nWorld mode also needs [separate camera environments](docs\u002Fworld.md#requirements).\n\n## Quick start\n\n```bash\ncp configs\u002Flocal.example.json configs\u002Flocal.json  # edit paths and options once\npython scripts\u002Finfer.py hand.jpg\npython scripts\u002Finfer.py clip.mp4\n```\n\nOptional outputs, backend and model are selected in `configs\u002Flocal.json`.\nFor training, use `python scripts\u002Ftrain.py \u003Cstage>`; see [Training](docs\u002Ftraining.md).\n\n```python\nimport cv2\nimport fah\n\nmodel = fah.load(\"fah\", mode=\"image\")\nhands = model(cv2.imread(\"hand.jpg\"), K=None)\nfor hand in hands:\n    joints = hand[\"joints3d\"]  # (21, 3), camera frame, metres\n```\n\nFor video, call `model.reset()` before each clip and process frames in order.\nCoordinates are x right, y down, z forward; 2D coordinates are pixels.\nUse `fah --help` for options or the [usage and output reference](docs\u002Fusage.md) for API keys,\ncontact thresholds, video rendering and identity tracking.\n\n## Model zoo\n\n| model | `--backbone` (model name) | encoder | crop | HOT3D PA-MPJPE (mm) | fps (RTX 4070 Ti SUPER, TensorRT) |\n|---|---|---|---|---|---|\n| FAH-S | `s` (`fah-s`) | DINOv3 ViT-S\u002F16 | 320 | 5.25 | 101 |\n| FAH-B | `b` (`fah-b`) | DINOv3 ViT-B\u002F16 | 320 | 4.57 | 89 |\n| **FAH-L** | `l` (`fah`) | DINOv3 ViT-L\u002F16 | 320 | 4.31 | 65 |\n| FAH-H | `h` (`fah-h`) | DINOv3 ViT-H+\u002F16 | 448 | 4.12 | 27 |\n\nFAH-L (`fah`) is the default. The table uses mesh fitting and TensorRT on HOT3D;\nparts and contact are off. FPS is the slower of two median-time runs on an RTX 4070 Ti SUPER under WSL2.\nFAH-L runs at 54 fps with parts, 49 fps with parts and contact, and 59 fps in video mode.\nWorld mode runs at 29 fps with the causal camera or 7.1 fps offline on four EgoStandard clips;\nmodel loading and decoding are excluded, and causal timing uses runs without host swapping. The causal 29 fps\nconfiguration predicts joints and dense points without mesh fitting, parts or contact; the offline 7.1 fps configuration includes MANO fitting.\n\nFAH uses the SAM 3-mask detector (`shared\u002Fdetector.pt`).\nTiny hands in collages and tightly crossed hands remain difficult.\n\n## Documentation\n\n| Task | Guide |\n|---|---|\n| API, outputs, contact and video options | [Usage](docs\u002Fusage.md) |\n| TensorRT, Core ML and live camera | [Acceleration](docs\u002Facceleration.md) |\n| Camera setup and world-space evaluation | [World space](docs\u002Fworld.md) |\n| MANO and MHR-Hand fits | [Parametric hands](docs\u002Fmhr_hand.md) |\n| Training stages and data mix | [Training](docs\u002Ftraining.md) |\n| Contact training and data | [Contact](docs\u002Fcontact.md), [data](docs\u002Fcontact_data.md) |\n| Benchmarks and timing | [Evaluation](docs\u002Fevaluation.md) |\n| Release evaluation and figures | [Reproduction](docs\u002Freproduce.md) |\n| Evaluation annotations and image builders | [Datasets](datasets\u002FREADME.md) |\n| Real-to-sim study | [Real to sim](docs\u002Freal2sim.md) |\n\n## Citation\n\n```bibtex\n@misc{cao2026fastaccuratehandestimation,\n  title         = {Fast and Accurate Hand Estimation in Pixels, Interaction and World Space},\n  author        = {Jinkun Cao},\n  year          = {2026},\n  eprint        = {2611.07711},\n  archivePrefix = {arXiv},\n  primaryClass  = {cs.CV},\n  url           = {https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.07711}\n}\n```\n\n## Licence and notice\n\n- **Code:** [Apache 2.0](LICENSE), except upstream files identified in [NOTICE](NOTICE) and\n  [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).\n- **All FAH weights, including the detector, fitted data and exported models:** [WEIGHTS_LICENSE](WEIGHTS_LICENSE),\n  for research and non-commercial use. SAM, DINOv3 and detector upstream terms apply to the relevant components;\n  the shared licence documents their scope and attribution requirements.\n- **External assets:** MANO and downloaded upstream models retain their own licences.\n  Dataset images are not redistributed; evaluation labels use [datasets\u002FLICENSE.md](datasets\u002FLICENSE.md).\n\n[page]: https:\u002F\u002Fnoahcao.github.io\u002FFAH\u002F\n[page-videos]: https:\u002F\u002Fnoahcao.github.io\u002FFAH\u002F#test-videos\n","FAH 是一个面向实时手部姿态与几何重建的轻量级视觉模型，支持在像素空间、交互空间和世界空间中同步估计2D\u002F3D手部关节点、表面点及拟合MANO\u002FMHR-Hand手部网格。其核心特点是高精度（4.31 mm PA-MPJPE）与高帧率（最高125 fps），集成可选部件分割、物体接触概率预测、视频时序优化及相机位姿估计模块。适用于AR\u002FVR交互、手势控制、人机协作、动作捕捉等对低延迟与多空间一致性有要求的计算机视觉应用。","2026-11-24 04:40:15","CREATED_QUERY"]