SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1804.00090 · 2018

FloorNet: A Unified Framework for Floorplan Reconstruction from 3D Scans

arXiv · PDF · Open in the Atlas

Code that ran

9 of 17 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 9 have no contract verdict; 0 failures of our instrument; 8 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/1804.00090.json · badge: /api/ran/1804.00090.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
art-programmer/FloorNet canonical (classifier label)
classifier basis: census
9 ran · 8 no recorded run
FunctionStatusWhere it lives
calcLineDim Ran
ran on a synthesized input
art-programmer/FloorNet/floorplan_utils.py
code served (permissive licence) · get_code("42fa646f90a9f6a2")
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 numpy as np

torch.manual_seed(0)

# The function expects:
# - points: an indexable collection (list or array) of points
# - line: an indexable collection with two indices [0] and [1]
# 
# Each point needs to support indexing with [0] and [1] for x and y coordinates
# The function compares abs(point_2[0] - point_1[0]) with abs(point_2[1] - point_1[1])

# Create a simple points list with coordinate tuples
points = [
    (0.0, 0.0),
    (5.0, 2.0),
    (1.0, 8.0),
    (3.0, 3.0)
]

# Create a line that references two point indices
line = [0, 2]

ARGS = {
    "points": points,
    "line": line
}
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 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
calcLineDirection Ran
ran on a synthesized input
art-programmer/FloorNet/floorplan_utils.py
code served (permissive licence) · get_code("bc6860c721e1ca51")
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

torch.manual_seed(0)

# The function expects a 'line' parameter which is indexed as:
# line[0][0], line[0][1], line[1][0], line[1][1]
# This suggests line is a list/tuple of 2 points, each with 2 coordinates (x, y)

line = [
    [1.0, 5.0],  # First point (x1, y1)
    [2.0, 3.0]   # Second point (x2, y2)
]

ARGS = {
    "line": line
}
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
drawDensityImage Ran
ran on a synthesized input
art-programmer/FloorNet/utils.py
code served (permissive licence) · get_code("9e0ae4fc0ae9f859")
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 int, shape (2, 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 numpy as np

# Create a small density array (2D for simplicity)
density = np.array([[10.0, 20.0, 30.0, 40.0],
                    [15.0, 25.0, 35.0, 45.0]], dtype=np.float32)

ARGS = {
    "density": density,
    "maxDensity": -1,
    "nChannels": 1
}
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 ndarray, ndim 2, dtype family int, shape (2, 4) — shape (2, 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
getOrientationRanges Ran
ran on a synthesized input
art-programmer/FloorNet/floorplan_utils.py
code served (permissive licence) · get_code("861d6709f99ef98b")
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 2, dtype family int; 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 torch

torch.manual_seed(0)

ARGS = {
    "width": 100,
    "height": 50
}
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 list, ndim 2, dtype family int — 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
getZRotationMatrix Ran
ran on a synthesized input
art-programmer/FloorNet/RecordWriterTango.py
code served (permissive licence) · get_code("8c69c6feae7b19b1")
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 (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 numpy as np
import math

def getZRotationMatrix(deg):
    return np.array([[math.cos(deg), -math.sin(deg), 0], [-math.sin(deg), -math.cos(deg), 0], [0, 0, 1]])

ARGS = {
    "deg": 45.0
}
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 ndarray, 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
load_pnt Ran
ran on a synthesized input
art-programmer/FloorNet/RecordWriterTango.py
code served (permissive licence) · get_code("18b1c5ed1f9b1d53")
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 2, 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
import cv2
import os
import tempfile

# Create temporary directory and files for testing
temp_dir = tempfile.mkdtemp()

# Create a simple OBJ file without texture
obj_file_no_texture = os.path.join(temp_dir, "model_no_texture.obj")
with open(obj_file_no_texture, 'w') as f:
    f.write("# Simple OBJ file without texture\n")
    f.write("v 0.0 0.0 0.0 1.0 0.0 0.0\n")
    f.write("v 1.0 1.0 1.0 0.0 1.0 0.0\n")
    f.write("v 2.0 2.0 2.0 0.0 0.0 1.0\n")

# Create a textured OBJ file with MTL and texture image
obj_file_with_texture = os.path.join(temp_dir, "model_with_texture.obj")
mtl_file = os.path.join(temp_dir, "model_with_texture.mtl")
texture_file = os.path.join(temp_dir, "texture.png")

# Create a simple texture image
texture_img = np.uint8(np.random.rand(64, 64, 3) * 255)
cv2.imwrite(texture_file, texture_img)

# Create MTL file
with open(mtl_file, 'w') as f:
    f.write("newmtl material1\n")
    f.write("map_Kd texture.png\n")

# Create OBJ file with texture coordinates
with open(obj_file_with_texture, 'w') as f:
    f.write("# OBJ file with texture\n")
    f.write("v 0.0 0.0 0.0\n")
    f.write("v 1.0 1.0 1.0\n")
    f.write("v 2.0 2.0 2.0\n")
    f.write("vt 0.5 0.5\n")
    f.write("vt 0.75 0.75\n")
    f.write("vt 0.25 0.25\n")

ARGS = {
    "pnt_file": obj_file_with_texture
}
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 list, ndim 2, 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
scaleIndices Ran
ran on a synthesized input
art-programmer/FloorNet/augmentation_tf.py
code served (permissive licence) · get_code("1e3845e7c5c400d7")
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, ndim 2, dtype family int; 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 tensorflow as tf

# Create small test tensors
xs = tf.constant([10, 20, 15], dtype=tf.int32)
ys = tf.constant([5, 8, 12], dtype=tf.int32)

# Define boundary and output dimensions
min_x = 0
min_y = 0
max_x = 30
max_y = 20
width = 100
height = 80

ARGS = {
    "xs": xs,
    "ys": ys,
    "min_x": min_x,
    "min_y": min_y,
    "max_x": max_x,
    "max_y": max_y,
    "width": width,
    "height": height,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — a tuple 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
sigmoid Ran
ran on a synthesized input
art-programmer/FloorNet/utils.py
code served (permissive licence) · get_code("6701865fd32af533")
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 1, dtype family float, shape (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 numpy as np

# The sigmoid function takes a single parameter 'values'
# which should be a numpy array or array-like that supports np.exp()

# Create a small numpy array as test input
values = np.array([0.0, 1.0, -1.0, 2.0])

ARGS = {
    "values": values
}
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 ndarray, ndim 1, dtype family float, shape (4,) — shape (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
softmax Ran
ran on a synthesized input
art-programmer/FloorNet/utils.py
code served (permissive licence) · get_code("70ee1b0d14e84ac1")
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 (2, 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 numpy as np

# The softmax function takes 'values' which should be a numpy array
# It applies exponential, then normalizes by summing along the last axis
# We'll create a small 2D array (batch_size=2, features=4)

values = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [0.5, 1.5, 2.5, 3.5]
], dtype=np.float32)

ARGS = {
    "values": values
}
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 ndarray, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
filterWalls Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/IP.py
code served (permissive licence) · get_code("0090988202b6ee53")
How it ran

no invocation recorded.

findMatches Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/QP.py
code served (permissive licence) · get_code("a69cb4c353278029")
How it ran

no invocation recorded.

getCoarseIndicesMaps Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/augmentation_tf.py
code served (permissive licence) · get_code("5e39328090adf21f")
How it ran

no invocation recorded.

getDatasetTrain Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/RecordReader.py
code served (permissive licence) · get_code("31866d3980dfb171")
How it ran

no invocation recorded.

getDatasetVal Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/RecordReader.py
code served (permissive licence) · get_code("df0044e15ebfbff0")
How it ran

no invocation recorded.

parse_fn Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/RecordReader.py
code served (permissive licence) · get_code("7a2266d08518368f")
How it ran

no invocation recorded.

pnts_to_heatmap_transformation_matrix Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/RecordWriterTango.py
code served (permissive licence) · get_code("1611f4d59c9a4d96")
How it ran

no invocation recorded.

warpIndices Not yet run
unverified (harvested, no recorded run)
art-programmer/FloorNet/augmentation_tf.py
code served (permissive licence) · get_code("c56a3c66d83c7bba")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 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 17 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-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

The ultimate goal of this indoor mapping research is to automatically reconstruct a floorplan simply by walking through a house with a smartphone in a pocket. This paper tackles this problem by proposing FloorNet, a novel deep neural architecture. The challenge lies in the processing of RGBD streams spanning a large 3D space. FloorNet effectively processes the data through three neural network branches: 1) PointNet with 3D points, exploiting the 3D information; 2) CNN with a 2D point density image in a top-down view, enhancing the local spatial reasoning; and 3) CNN with RGB images, utilizing the full image information. FloorNet exchanges intermediate features across the branches to exploit the best of all the architectures. We have created a benchmark for floorplan reconstruction by acquiring RGBD video streams for 155 residential houses or apartments with Google Tango phones and annotating complete floorplan information. Our qualitative and quantitative evaluations demonstrate that the fusion of three branches effectively improves the reconstruction quality. We hope that the paper together with the benchmark will be an important step towards solving a challenging vector-graphics reconstruction problem. Code and data are available at https://github.com/art-programmer/FloorNet.

For agents

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

get_harvested_code_for_paper("1804.00090")
get_code_for_paper("1804.00090")
have("1804.00090")

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

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

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

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

Connect an agent — have() is free.