SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.13738 · 2021

The Implicit Values of A Good Hand Shake: Handheld Multi-Frame Neural Depth Refinement

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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; 0 failures of our instrument; 4 no recorded run), measured 2026-11-24; 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/2111.13738.json · badge: /api/ran/2111.13738.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
princeton-computational-imaging/hndr canonical (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
FunctionStatusWhere it lives
count_params Ran
ran on a synthesized input
princeton-computational-imaging/hndr/utils/utils.py
code served (permissive licence) · get_code("550d8da50f1600e5")
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 int, ndim 0, dtype family int, shape () 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 torch.nn as nn

torch.manual_seed(0)

# Create a simple model with parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

# Test with trainable=True (count only trainable parameters)
ARGS = {
    "model": model,
    "trainable": True
}
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 int, ndim 0, dtype family int, shape () — shape () 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
eye_like Ran
ran on a synthesized input
princeton-computational-imaging/hndr/model.py
code served (permissive licence) · get_code("40e8c5b4da963fbc")
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, 4, 4) 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

torch.manual_seed(0)

# Create a tensor with shape (2, 4, 4) - batch of 2, with 4x4 identity matrices expected
# The function uses tensor.shape[-1] to get the last dimension
# and tensor.device to get the device
tensor = torch.randn(2, 4, 4)

ARGS = {
    "tensor": tensor
}
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
eye_like Ran
ran on a synthesized input
princeton-computational-imaging/hndr/utils/dataloader.py
code served (permissive licence) · get_code("74ada9e2cd143d24")
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, 4, 4) 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

torch.manual_seed(0)

# The function eye_like takes a tensor and returns a batch of identity matrices
# scaled to match the tensor's shape and device.
# It uses:
# - tensor.shape[-1] to get the last dimension
# - tensor.device to get the device
# - torch.ones_like(tensor) to create a tensor of ones with same shape/device
# - torch.eye() to create identity matrices

# Create a small tensor with batch dimension and a square last dimension
tensor = torch.randn(2, 4, 4)

ARGS = {
    "tensor": tensor
}
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
load_depth Ran
ran on a synthesized input
princeton-computational-imaging/hndr/!DepthBundleApp/ConvertBinaries.py
code served (permissive licence) · get_code("f153caaa9ac12019")
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 struct
import tempfile
import os

# Create a temporary binary file with the expected format
# The file should have:
# - 1024 byte header
# - 192 * 256 = 49152 float values (4 bytes each = 196608 bytes)

temp_file = tempfile.NamedTemporaryFile(delete=False, suffix='.bin')
temp_filename = temp_file.name

try:
    # Write 1024 byte header
    header = b'X' * 1024
    temp_file.write(header)
    
    # Write 192 * 256 float values
    depth_data = np.random.rand(192, 256).astype(np.float32)
    temp_file.write(depth_data.tobytes())
    
    temp_file.close()
    
    ARGS = {
        'depth_name': temp_filename
    }
finally:
    pass
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
load_info Ran
ran on a synthesized input
princeton-computational-imaging/hndr/!DepthBundleApp/ConvertBinaries.py
code served (permissive licence) · get_code("ea6f25b9589127c3")
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 tempfile
import os

# Create a temporary file with a valid header format
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_info.bin")

# Construct a header string that matches the expected format
header_str = (
    "[Time:1234567890.5,"
    "EulerAngles:SIMD3<Float>(0.1,0.2,0.3),"
    "WorldPose:simd_float4x4(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),"
    "Intrinsics:Optionalsimd_float3x3(500,0,320,0,500,240,0,0,1),"
    "WorldToCamera:Optionalsimd_float4x4(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)]"
    "<ENDHEADER>"
)

# Pad header to 1024 bytes
header_bytes = header_str.encode('utf-8')
padded_header = header_bytes + b'\x00' * (1024 - len(header_bytes))

# Write to temporary file
with open(temp_file, 'wb') as f:
    f.write(padded_header)
    f.write(b'\x00' * 100)  # Add some extra padding for file body

ARGS = {
    'info_name': temp_file
}
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 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
read_header Ran
ran on a synthesized input
princeton-computational-imaging/hndr/!DepthBundleApp/ConvertBinaries.py
code served (permissive licence) · get_code("489d7c1fa2741802")
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 numpy as np
import re

# Analyzing the function: read_header takes a single parameter 'header'
# The function:
# 1. Converts header to string
# 2. Removes brackets, parentheses, whitespace, and quotes
# 3. Splits on '<ENDHEADER>'
# 4. Extracts timestamp, euler_angles, world_pose, intrinsics, world_to_camera
#    by parsing delimited sections with specific keys

# Creating a valid header string that matches the expected format
header_string = (
    "[Time:1234567.89,EulerAngles:SIMD3<Float>0.1,0.2,0.3,extra,"
    "WorldPose:simd_float4x4"
    "1.0,0.0,0.0,0.1,"
    "0.0,1.0,0.0,0.2,"
    "0.0,0.0,1.0,0.3,"
    "0.0,0.0,0.0,1.0,"
    "Intrinsics:Optionalsimd_float3x3"
    "500.0,0.0,320.0,"
    "0.0,500.0,240.0,"
    "0.0,0.0,1.0,"
    "WorldToCamera:Optionalsimd_float4x4"
    "1.0,0.0,0.0,0.0,"
    "0.0,1.0,0.0,0.0,"
    "0.0,0.0,1.0,0.0,"
    "0.0,0.0,0.0,1.0"
    "<ENDHEADER>]"
)

ARGS = {
    'header': header_string
}
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 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
colorize_tensor Not yet run
unverified (harvested, no recorded run)
princeton-computational-imaging/hndr/utils/utils.py
code served (permissive licence) · get_code("51f01691827791e0")
How it ran

no invocation recorded.

convert_px_rays_to_m Not yet run
unverified (harvested, no recorded run)
princeton-computational-imaging/hndr/utils/utils.py
code served (permissive licence) · get_code("1e76a4a292cc8258")
How it ran

no invocation recorded.

get_initial_conf Not yet run
unverified (harvested, no recorded run)
princeton-computational-imaging/hndr/model.py
code served (permissive licence) · get_code("10cc2df122c99046")
How it ran

no invocation recorded.

get_random_coords Not yet run
unverified (harvested, no recorded run)
princeton-computational-imaging/hndr/model.py
code served (permissive licence) · get_code("f39ed1ef2f7ad35c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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.

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-24.

Repositories linked to this paper

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

Abstract

Modern smartphones can continuously stream multi-megapixel RGB images at 60Hz, synchronized with high-quality 3D pose information and low-resolution LiDAR-driven depth estimates. During a snapshot photograph, the natural unsteadiness of the photographer's hands offers millimeter-scale variation in camera pose, which we can capture along with RGB and depth in a circular buffer. In this work we explore how, from a bundle of these measurements acquired during viewfinding, we can combine dense micro-baseline parallax cues with kilopixel LiDAR depth to distill a high-fidelity depth map. We take a test-time optimization approach and train a coordinate MLP to output photometrically and geometrically consistent depth estimates at the continuous coordinates along the path traced by the photographer's natural hand shake. With no additional hardware, artificial hand motion, or user interaction beyond the press of a button, our proposed method brings high-resolution depth estimates to point-and-shoot "tabletop" photography -- textured objects at close range.

For agents

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

get_harvested_code_for_paper("2111.13738")
get_code_for_paper("2111.13738")
have("2111.13738")

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

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

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

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

Connect an agent — have() is free.