-
Notifications
You must be signed in to change notification settings - Fork 469
Copy Annotations #55
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
Copy Annotations #55
Conversation
* allow auto create categories and datasets from JSON config files * use single file; using single initializer method * upsert function * upsert category test
…agate_annotations
@matt-deboer I've changed quite a few things. Once again let me know if it works for your use case |
This should work fine. It is a little tedious to click the dialog box to copy from the previous image, but I think that will go away with #57. |
Is there no way to move an annotation after having it copied? In many cases, there are images that are the same except that the object has moved to the right. One can copy the annotation but can't move it at all. Hence this feature will be much more useful if we could do that. If I were to edit code, which file should I look to implement such a feature? |
This allows copying annotations from one image to another. (Implements #52)
prev
ornext
image using the new navigation buttons in the upper right: (propagate-previous, or propagate-next)These are leveraged via a new
POST /api/annotator/data/{image_id}
method; this method accepts bothadd_annotations
(array of annotations by ID to add to the image),and
add_annotations_from
(array of image_ids from which to copy annotations). This may not be the best place for this, but it also seemed wrong to overload the currentPOST /api/annotator/data
method...thoughts?