Repository navigation
Shape renderer - #6
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.