You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to use task annotation CVAT REST API correctly? I find it difficult to match the image frame with the annotation I try to send via REST API
In the documentation, I should provide the frame attribute in order to match the annotation to the frame we uploaded before using the upload image to task API:
but I have tried its value is not the same as the order of array index when we upload the image to task, for example when using remote_files, the order is:
But after it became jobs, the image frame is not the same, which makes it difficult to use annotation API, because the result will always be mismatched.
Expected Behaviour
I think it will be easier to make the order of the frame the same as the image array index when we upload the image to the task? But I'm to any suggestion
Current Behaviour
The frame is not the same as the array index, result in the annotation is always mismatched
Possible Solution
Steps to Reproduce (for bugs)
Create a task (via API or UI is fine)
Upload an image to the task using the below API:
Annotate via task annotation rest API below:
Context
Your Environment
Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Deployed on VM
Operating System and version (e.g. Linux, Windows, MacOS): Linux, MacOS
@krismp , frames are sorted in lexicographical order at the moment. Probably we can preserve order by default or have special query parameters to change it.
My actions before raising this issue
How to use task annotation CVAT REST API correctly? I find it difficult to match the image frame with the annotation I try to send via REST API
In the documentation, I should provide the
frame
attribute in order to match the annotation to the frame we uploaded before using the upload image to task API:but I have tried its value is not the same as the order of array index when we upload the image to task, for example when using
remote_files
, the order is:But after it became
jobs
, the imageframe
is not the same, which makes it difficult to use annotation API, because the result will always be mismatched.Expected Behaviour
I think it will be easier to make the order of the frame the same as the image array index when we upload the image to the task? But I'm to any suggestion
Current Behaviour
The frame is not the same as the array index, result in the annotation is always mismatched
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
git log -1
):docker version
(e.g. Docker 17.0.05):Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: