SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1903.08642 · 2019

Photometric Mesh Optimization for Video-Aligned 3D Object Reconstruction

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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 5 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/1903.08642.json · badge: /api/ran/1903.08642.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
chenhsuanlin/photometric-mesh-optim canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
blue Ran
ran; our contract draft was wrong, not the code
chenhsuanlin/photometric-mesh-optim/util.py
code served (permissive licence) · get_code("831ff3e5265f6557")
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 str. 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 termcolor

# The function takes 'content' as a parameter and converts it to string,
# then passes it to termcolor.colored with color 'blue' and bold attribute.
# We need to provide a value for 'content' that can be converted to string.

ARGS = {
    'content': 'Hello, World!'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
termcolor — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
calib_extrinsic Ran
ran on a synthesized input
chenhsuanlin/photometric-mesh-optim/render.py
code served (permissive licence) · get_code("35045496d2392882")
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, 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

torch.manual_seed(0)

# Analyze the function:
# - opt: passed but never used in the function body
# - vertices: [B,V,3] tensor, used with torch operations
# - cam_extr: [B,3,4] tensor, used with transpose and matrix multiplication

# Create valid arguments
B = 2  # batch size
V = 4  # number of vertices
vertices = torch.randn(B, V, 3)
cam_extr = torch.randn(B, 3, 4)

# opt is not used in the function, but we need to provide something
opt = {}

ARGS = {
    "opt": opt,
    "vertices": vertices,
    "cam_extr": cam_extr,
}
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, 3) — shape (2, 4, 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
calib_intrinsic Ran
ran on a synthesized input
chenhsuanlin/photometric-mesh-optim/render.py
code served (permissive licence) · get_code("817cc34759c6b387")
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, 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

torch.manual_seed(0)

# Analyzing the function:
# - opt: appears unused in the function body
# - vertices_trans: [B,V,3] tensor, used in matrix multiplication with cam_intr.t()
# - cam_intr: [3,3] tensor, .t() is called on it (transpose)
# The function performs perspective projection using camera intrinsics

# Create small tensors with distinct dimensions
B = 2  # batch size
V = 4  # number of vertices
opt = {}  # opt parameter is unused, can be empty dict

# vertices_trans: [B, V, 3]
vertices_trans = torch.randn(B, V, 3)

# cam_intr: [3, 3] camera intrinsic matrix
cam_intr = torch.tensor([
    [500.0, 0.0, 320.0],
    [0.0, 500.0, 240.0],
    [0.0, 0.0, 1.0]
])

ARGS = {
    "opt": opt,
    "vertices_trans": vertices_trans,
    "cam_intr": cam_intr
}
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, 3) — shape (2, 4, 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_lie_rotation_matrix Ran
ran on a synthesized input
chenhsuanlin/photometric-mesh-optim/pose.py
code served (permissive licence) · get_code("80f446a2e838ac83")
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 2, dtype family float, shape (3, 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

torch.manual_seed(0)

class OptConfig:
    def __init__(self):
        self.device = 'cpu'

opt = OptConfig()
r = torch.tensor([0.1, 0.2, 0.3], device='cpu', dtype=torch.float32)

ARGS = {
    'opt': opt,
    'r': r
}
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 2, dtype family float, shape (3, 3) — shape (3, 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
green Ran
ran; our contract draft was wrong, not the code
chenhsuanlin/photometric-mesh-optim/util.py
code served (permissive licence) · get_code("6c22ac743d271a9e")
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 str. 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 termcolor

def green(content):
    return termcolor.colored(str(content), 'green', attrs=['bold'])

# The function takes a single parameter 'content' and converts it to string,
# then colors it green with bold attribute using termcolor.colored()
# We can pass any object that can be converted to string

ARGS = {
    'content': 'Hello World'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
termcolor — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
params_to_mtrx Ran
ran on a synthesized input
chenhsuanlin/photometric-mesh-optim/pose.py
code served (permissive licence) · get_code("450d3c459dbef6d9")
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 2, dtype family float, shape (3, 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)

class OptConfig:
    def __init__(self):
        self.device = 'cpu'

class Sim3:
    def __init__(self):
        self.rot = torch.randn(3, dtype=torch.float32)
        self.scale = torch.randn(1, dtype=torch.float32)
        self.trans = torch.randn(3, dtype=torch.float32)

opt = OptConfig()
sim3 = Sim3()

ARGS = {
    'opt': opt,
    'sim3': sim3
}
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 2, dtype family float, shape (3, 4) — shape (3, 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
red Ran
ran; our contract draft was wrong, not the code
chenhsuanlin/photometric-mesh-optim/util.py
code served (permissive licence) · get_code("f975c78dd7a0439b")
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 str. 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 termcolor

# The function red() takes a 'content' parameter and converts it to a string,
# then colors it red with bold styling using termcolor.colored()

# We need to provide a value for 'content' that can be converted to string
# Let's use a simple string value

ARGS = {
    'content': 'Hello, World!'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
termcolor — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
setup_loader Ran
ran on a synthesized input
chenhsuanlin/photometric-mesh-optim/data.py
code served (permissive licence) · get_code("5f081cce4bd89980")
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 DataLoader. 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 torch.utils.data

torch.manual_seed(0)

# Create a simple dataset
class SimpleDataset(torch.utils.data.Dataset):
    def __init__(self, size=10):
        self.size = size
    
    def __len__(self):
        return self.size
    
    def __getitem__(self, idx):
        x = torch.randn(4)
        y = torch.randint(0, 2, (1,)).item()
        return x, y

# Create a simple options object
class Options:
    def __init__(self, batch_size=2, num_workers=0):
        self.batch_size = batch_size
        self.num_workers = num_workers

# Construct arguments
opt = Options(batch_size=2, num_workers=0)
dataset = SimpleDataset(size=10)

ARGS = {
    'opt': opt,
    'dataset': dataset,
    'shuffle': False
}
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 DataLoader — a DataLoader output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataLoader 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
apply_3Dsim Not yet run
unverified (harvested, no recorded run)
chenhsuanlin/photometric-mesh-optim/pose.py
code served (permissive licence) · get_code("0942d2aa2a96e22b")
How it ran

no invocation recorded.

load_sequence Not yet run
unverified (harvested, no recorded run)
chenhsuanlin/photometric-mesh-optim/data.py
code served (permissive licence) · get_code("ca849067495867a7")
How it ran

no invocation recorded.

load_sequence_list Not yet run
unverified (harvested, no recorded run)
chenhsuanlin/photometric-mesh-optim/data.py
code served (permissive licence) · get_code("ff37d3232a8ba053")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 8 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
blue 3 other papers
3 later
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
2303.01751 (2023-03)
Deep Momentum Multi-Marginal Schrödinger Bridge
2310.00108 (2023-10)
Practical Membership Inference Attacks Against Large-Scale Multi-Modal Models: A Pilot Study
green 3 other papers
3 later
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
2303.01751 (2023-03)
Deep Momentum Multi-Marginal Schrödinger Bridge
2310.00108 (2023-10)
Practical Membership Inference Attacks Against Large-Scale Multi-Modal Models: A Pilot Study
red 3 other papers
3 later
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
2303.01751 (2023-03)
Deep Momentum Multi-Marginal Schrödinger Bridge
2310.00108 (2023-10)
Practical Membership Inference Attacks Against Large-Scale Multi-Modal Models: A Pilot Study

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

Repositories linked to this paper

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

Abstract

In this paper, we address the problem of 3D object mesh reconstruction from RGB videos. Our approach combines the best of multi-view geometric and data-driven methods for 3D reconstruction by optimizing object meshes for multi-view photometric consistency while constraining mesh deformations with a shape prior. We pose this as a piecewise image alignment problem for each mesh face projection. Our approach allows us to update shape parameters from the photometric error without any depth or mask information. Moreover, we show how to avoid a degeneracy of zero photometric gradients via rasterizing from a virtual viewpoint. We demonstrate 3D object mesh reconstruction results from both synthetic and real-world videos with our photometric mesh optimization, which is unachievable with either naïve mesh generation networks or traditional pipelines of surface reconstruction without heavy manual post-processing.

For agents

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

get_harvested_code_for_paper("1903.08642")
get_code_for_paper("1903.08642")
have("1903.08642")

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

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

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

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

Connect an agent — have() is free.