Skip to content
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

How to reproduce Agentic Object Detection results using this library? #366

Open
bittergourd1224 opened this issue Feb 13, 2025 · 1 comment

Comments

@bittergourd1224
Copy link

I have tried some image on the demo website https://va.landing.ai/demo/agentic-od, the results look pretty good.
But when I tried to reproduce the results using this library, with function "countgd_object_detection" according to README, the results are not good as expected.
Any advices? Thanks.

@dillonalaird
Copy link
Member

You can access AgenticOD through the tools right now, I just have not tested it with the VisionAgent yet (so VisionAgent cannot see the AgenticOD tool, but it is available to users). Here's a snippet of how to use it:

import vision_agent.tools as T
import matplotlib.pyplot as plt
image = T.load_image("your_image.png")
dets = T.agentic_object_detection("person wearing helmet", image)
viz = T.overlay_bounding_boxes(image, dets)
plt.imshow(viz)
plt.show()

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

No branches or pull requests

2 participants