Skip to content

Shape renderer - #6

Merged
teymuur merged 5 commits into
unstablefrom
shape-renderer
Nov 18, 2026
Merged

teymuur merged 5 commits into
unstablefrom
shape-renderer

Conversation

@teymuur

@teymuur teymuur commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

teymuur and others added 5 commits November 15, 2026 01:41
Find up-facing depth pixels, group them by height, fit each candidate plane
robustly and grow it with a depth-noise tolerance, then keep the surface
nearest the point below the camera. Objects on it become holes, filled in
support_mask. Adds a camera pitch option, half-resolution mode and
SurfaceTracker for smoothing over frames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dataset/render_shapes.py renders random table scenes of the shapes with
varied colours (including multi-colour prints), resting poses, camera,
lighting, textures and noise, writing YOLO segmentation labels to
dataset/source/ for build_dataset.py. YOLO learns the shape only;
perception/colors.py names each detection's colour at run time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Colour naming grouped pixels by nearest palette entry, so a red print's
shaded side came out as brown and white in shadow as grey. Now pixels
are clustered, clusters of the same hue (or similar greys) are merged
as one filament under different light, and each is named from its best
lit pixels against palette entries of its kind.

The renderer adds busy fabric patterns as table textures (real frames
showed flower prints detected as shapes), low and near-level camera
views down to 4 cm, objects cut off at the image edge and more empty
scenes. Pixels above the horizon are no longer mirrored table texture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@teymuur teymuur left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean

@teymuur
teymuur merged commit 2272a8c into unstable Nov 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants