This repository was archived by the owner on Jan 27, 2026. It is now read-only.
Implement 3D bounding box system for computer vision detection#181
Draft
Implement 3D bounding box system for computer vision detection#181
Conversation
Co-authored-by: Cruiz102 <65771578+Cruiz102@users.noreply.github.com>
Co-authored-by: Cruiz102 <65771578+Cruiz102@users.noreply.github.com>
Co-authored-by: Cruiz102 <65771578+Cruiz102@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement a system for 3d bounding boxes
Implement 3D bounding box system for computer vision detection
Jul 26, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR implements a complete 3D bounding box system to replace the current approach of calculating only 2D bounding boxes with 3D centroid points. The new system provides full 3D spatial extent for detected objects, enabling better spatial understanding for autonomous underwater vehicle operations.
Key Changes
New
BoundingBox3Dclass incustom_types.py:get_corners()method to compute 8 corner points in 3D spaceEnhanced
Detectionclass:bbox_3dfield for 3D bounding box informationpointfield3D Bounding Box Calculation:
Pipeline Integration:
DetectionPipelineManagerto automatically calculate 3D bounding boxesExample Usage
Testing
This enhancement provides the underwater vehicle with complete 3D understanding of detected objects, enabling more sophisticated navigation and manipulation tasks while maintaining full backward compatibility.
Fixes #34.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.