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

Getting a direct link to a bounding box or image #8424

Open
2 tasks done
dimakpa opened this issue Sep 10, 2024 · 0 comments
Open
2 tasks done

Getting a direct link to a bounding box or image #8424

dimakpa opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dimakpa
Copy link

dimakpa commented Sep 10, 2024

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Is your feature request related to a problem? Please describe.

Now I need to get a link to the bbox to show it to a person. And I form the link based on the annotation. So it's not difficult to get a link to the image, we just insert the id into the link:
/tasks/<task_id>/jobs/<job_id>?frame=<image_id>

But when I want to get a direct link to the bbox, it turns out that the box id is not equal to the ServerID, which we can get through the desktop version, when we get the link.
/tasks/<task_id>/jobs/<job_id>?frame=<image_id>&type=shape&serverID=

The question is, how can I get the serverID to create a link to the bbox? Or can I get a link to the box through its id, or in some other way?
issue

Describe the solution you'd like

it may be better to form links to the bbox not by serverID, but by the id of each box. Access will be unique and convenient.
Or add a function to the api that returns a direct link to a separate bbox by image id and bbox id.

Describe alternatives you've considered

the serverID was set as a constant and for each subsequent bbox added the bbox_id and serverID

Additional context

No response

@dimakpa dimakpa added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant