SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.01813 · CVPR · 2024

A Simple Baseline for Efficient Hand Mesh Reconstruction

Yao Tang, Shihao Zhou, Jiajun Liang, Zhishan Zhou, Zhi Lv, Minqiang Zou, Jiiov Technology

arXiv · PDF · Open in the Atlas

Code that ran

9 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 3 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2403.01813.json · badge: /api/ran/2403.01813.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
patiencefromzhou/simplehand community (classifier label)
classifier basis not recorded on the link
9 ran · 6 no recorded run
FunctionStatusWhere it lives
align_w_scale Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
patiencefromzhou/simplehand/infer_to_json.py
code served (permissive licence) · get_code("38a4447a0132916a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (5, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from scipy.linalg import orthogonal_procrustes

# Create two small matrices for alignment
# mtx1: shape (5, 3) - 5 points in 3D space
mtx1 = np.array([
    [1.0, 2.0, 3.0],
    [2.0, 3.0, 4.0],
    [3.0, 4.0, 5.0],
    [4.0, 5.0, 6.0],
    [5.0, 6.0, 7.0]
], dtype=np.float64)

# mtx2: shape (5, 3) - 5 points in 3D space (to be aligned with mtx1)
mtx2 = np.array([
    [1.5, 2.5, 3.5],
    [2.5, 3.5, 4.5],
    [3.5, 4.5, 5.5],
    [4.5, 5.5, 6.5],
    [5.5, 6.5, 7.5]
], dtype=np.float64)

ARGS = {
    "mtx1": mtx1,
    "mtx2": mtx2,
    "return_trafo": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 3) — shape (5, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_position_encoding Ran
ran; our contract draft was wrong, not the code
patiencefromzhou/simplehand/models/position_embedding.py
code served (permissive licence) · get_code("e75bcdbf04de72fc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned PositionEmbeddingSine. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math
from torch import nn

torch.manual_seed(0)

ARGS = {
    "hidden_dim": 128
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PositionEmbeddingSine — a PositionEmbeddingSine output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PositionEmbeddingSine output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_fingertip Ran
ran on a synthesized input
patiencefromzhou/simplehand/models/losses.py
code served (permissive licence) · get_code("815a62ae24a7fc21")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 5, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# The function expects vertices with shape (batch_size, num_vertices, 3)
# It indexes specific vertex indices [744, 320, 443, 555, 672]
# and returns fingertips with shape (batch_size, 5, 3)

# Create a small batch of vertices
# batch_size=2, num_vertices=800 (enough to include index 744), 3D coordinates
vertices = torch.randn(2, 800, 3)

ARGS = {
    "vertices": vertices
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 5, 3) — shape (2, 5, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_points_bbox Ran
ran on a synthesized input
patiencefromzhou/simplehand/kp_preprocess.py
code served (permissive licence) · get_code("0bf60765ad37025b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function takes points and converts them to a numpy array,
# then computes min and max along axis 0.
# We need to provide a list/array-like structure with multiple points.
# Each point should have multiple coordinates.

points_data = [
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [0.5, 1.5, 2.5, 3.5],
]

ARGS = {
    'points': points_data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_points_center_scale Ran
ran on a synthesized input
patiencefromzhou/simplehand/kp_preprocess.py
code served (permissive licence) · get_code("389ba32a8050a643")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function takes points as input and computes center and scale
# Points should be array-like with shape (N, D) where N is number of points and D is dimensionality
# The function calls .min(axis=0), .max(axis=0), and basic arithmetic operations

# Create a small set of 3D points
points = np.array([
    [1.0, 2.0, 3.0],
    [5.0, 6.0, 7.0],
    [3.0, 4.0, 5.0]
])

ARGS = {
    "points": points
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
keypoint_auc Ran
ran on a synthesized input
patiencefromzhou/simplehand/eval_utils.py
code served (permissive licence) · get_code("07fc37b1ec3cad9d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Define parameters for keypoint_auc
# pred: np.ndarray[N, K, 2] - predicted keypoint locations
# N=2 (batch size), K=4 (num keypoints), 2 (x,y coordinates)
pred = np.random.rand(2, 4, 2).astype(np.float32) * 100

# gt: np.ndarray[N, K, 2] - ground truth keypoint locations
# Same shape as pred
gt = np.random.rand(2, 4, 2).astype(np.float32) * 100

# mask: np.ndarray[N, K] - visibility mask for keypoints
# N=2, K=4, boolean values indicating visibility
mask = np.array([[True, True, False, True],
                 [True, False, True, True]], dtype=bool)

# normalize: float - normalization factor (30 pixels for hand)
normalize = 30.0

# num_step: int - number of steps for AUC calculation
num_step = 20

ARGS = {
    "pred": pred,
    "gt": gt,
    "mask": mask,
    "normalize": normalize,
    "num_step": num_step
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
keypoint_pck_accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
patiencefromzhou/simplehand/eval_utils.py
code served (permissive licence) · get_code("13917732e49d58d9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set up small test data
batch_size = 2  # N
num_keypoints = 4  # K
keypoint_dim = 2  # D

# Predicted keypoint locations [N, K, D]
pred = np.random.rand(batch_size, num_keypoints, keypoint_dim).astype(np.float32) * 100

# Ground truth keypoint locations [N, K, D]
gt = np.random.rand(batch_size, num_keypoints, keypoint_dim).astype(np.float32) * 100

# Visibility mask [N, K] - all visible in this case
mask = np.ones((batch_size, num_keypoints), dtype=bool)

# Threshold for PCK
thr = 0.5

# Normalization factor (typically heatmap size or bounding box) [N, D]
normalize = np.array([[64.0, 64.0], [64.0, 64.0]], dtype=np.float32)

ARGS = {
    "pred": pred,
    "gt": gt,
    "mask": mask,
    "thr": thr,
    "normalize": normalize,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
preprocess Ran
ran on a synthesized input
patiencefromzhou/simplehand/kp_preprocess.py
code served (permissive licence) · get_code("22857b95dac1ddca")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import cv2

# Create a small test image (100x100 RGB image)
img = np.random.randint(0, 256, size=(100, 100, 3), dtype=np.uint8)

# Define a bounding box as [x1, y1, x2, y2]
bbox = [20, 30, 80, 70]

# Define image size for output
img_size = (128, 128)

# Define scale enlargement factor
scale_enlarge = 1.2

ARGS = {
    "img": img,
    "bbox": bbox,
    "img_size": img_size,
    "scale_enlarge": scale_enlarge
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_info Ran
ran on a synthesized input
patiencefromzhou/simplehand/dataset.py
code served (permissive licence) · get_code("ed3e5078d9be2fe8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create a test JSON file
test_img_path = os.path.join(temp_dir, 'test_image.jpg')
test_json_path = os.path.join(temp_dir, 'test_image.json')

# Write a valid JSON file
test_data = {
    'width': 640,
    'height': 480,
    'annotations': [
        {'id': 1, 'label': 'cat'},
        {'id': 2, 'label': 'dog'}
    ]
}

with open(test_json_path, 'w') as f:
    json.dump(test_data, f)

# Create an empty jpg file (doesn't need to be a real image)
with open(test_img_path, 'w') as f:
    f.write('')

ARGS = {
    'img_path': test_img_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
lbs Not yet run
unverified (harvested, no recorded run)
patiencefromzhou/simplehand/models/mano_torch.py
code served (permissive licence) · get_code("0799d9a300d22e21")
How it ran

no invocation recorded.

load_mano_params_c Not yet run
unverified (harvested, no recorded run)
patiencefromzhou/simplehand/models/losses.py
code served (permissive licence) · get_code("f97abd9a3ca74542")
How it ran

no invocation recorded.

pose_pck_accuracy Not yet run
unverified (harvested, no recorded run)
patiencefromzhou/simplehand/eval_utils.py
code served (permissive licence) · get_code("1513953f7add59bd")
How it ran

no invocation recorded.

project_k Not yet run
unverified (harvested, no recorded run)
patiencefromzhou/simplehand/models/losses.py
code served (permissive licence) · get_code("6169d0071af029b3")
How it ran

no invocation recorded.

remap_uv Not yet run
unverified (harvested, no recorded run)
patiencefromzhou/simplehand/models/modules.py
code served (permissive licence) · get_code("1f941eb6db919207")
How it ran

no invocation recorded.

vertices2landmarks Not yet run
unverified (harvested, no recorded run)
patiencefromzhou/simplehand/models/mano_torch.py
pointer only (licence: MIT); the stored copy get_code serves, from wjrzm/VP-MoCap, is pointer only (licence: NONE) · get_code("f60c90a51b7481f7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wjrzm/VP-MoCap, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 2 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pose_pck_accuracy 3 other papers
2 dated earlier, 1 later
2204.12484 (2022-04)
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
2312.10758 (2023-12)
SHaRPose: Sparse High-Resolution Representation for Human Pose Estimation
2411.16289 (2024-11)
Utilizing Uncertainty in 2D Pose Detectors for Probabilistic 3D Human Mesh Recovery
keypoint_pck_accuracy 2 other papers
1 dated earlier, 1 later
2204.12484 (2022-04)
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
2411.16289 (2024-11)
Utilizing Uncertainty in 2D Pose Detectors for Probabilistic 3D Human Mesh Recovery
align_w_scale 1 other paper
1 the same month
2403.18575 (2024-03)
HandBooster: Boosting 3D Hand-Mesh Reconstruction by Conditional Synthesis and Sampling of Hand-Object Interactions
build_position_encoding 1 other paper
1 dated earlier
2304.09502 (2023-04)
Sampling is Matter: Point-guided 3D Human Mesh Reconstruction
vertices2landmarks 1 other paper
1 the same month
2403.17610 (2024-03)
MMVP: A Multimodal MoCap Dataset with Vision and Pressure Sensors

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Hand mesh reconstruction has attracted considerable attention in recent years, with various approaches and techniques being proposed. Some of these methods incorporate complex components and designs, which, while effective, may complicate the model and hinder efficiency. In this paper, we decompose the mesh decoder into token generator and mesh regressor. Through extensive ablation experiments, we found that the token generator should select discriminating and representative points, while the mesh regressor needs to upsample sparse keypoints into dense meshes in multiple stages. Given these functionalities, we can achieve high performance with minimal computational resources. Based on this observation, we propose a simple yet effective baseline that outperforms state-of-the-art methods by a large margin, while maintaining real-time efficiency. Our method outperforms existing solutions, achieving state-of-the-art (SOTA) results across multiple datasets. On the FreiHAND dataset, our approach produced a PA-MPJPE of 5.8mm and a PA-MPVPE of 6.1mm. Similarly, on the DexYCB dataset, we observed a PA-MPJPE of 5.5mm and a PA-MPVPE of 5.5mm. As for performance speed, our method reached up to 33 frames per second (fps) when using HRNet and up to 70 fps when employing FastViT-MA36. Code will be made available.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.01813")
get_code_for_paper("2403.01813")
have("2403.01813")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2403.01813.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2403.01813.svg)](https://syntology.ai/paper/2403.01813)

Connect an agent — have() is free.