-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add tool for open-set detection using grounding dino #215
Conversation
Could you include the test in the commit, and document the new tool as well for users and developers? Does it require additional dependencies? |
5e7ccf8
to
37d715d
Compare
… and depth camera
37d715d
to
5e2e22f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I can confirm that the feature works as expected. Please take a look at the comments.
Regarding the {... or 'Nothing'}, decide yourself whether handling it that way or using if measurements[] is better
src/rai_extensions/rai_grounding_dino/rai_grounding_dino/tools.py
Outdated
Show resolved
Hide resolved
src/rai_extensions/rai_grounding_dino/rai_grounding_dino/tools.py
Outdated
Show resolved
Hide resolved
src/rai_extensions/rai_grounding_dino/rai_grounding_dino/tools.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Maciej Majek <[email protected]>
Co-authored-by: Maciej Majek <[email protected]>
Co-authored-by: Maciej Majek <[email protected]>
Purpose
Adds Grounding Dino Tooling for distance estimation. Grounding Dino is used to extract the regions of the camera POV classified as certain objects. These regions can then be extracted from the depth channel, and after calibration, used to estimate distance from camera to them.
Proposed Changes
GetDetectionTool
,GetDistanceToObjectsTool
.grounding_dino
extensionIssues
#194
Testing
Tested using following script:
In second terminal run:
Camera topics must be available and of the same resolution. The detection went through correctly.