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

Expose an API to manage tasks #187

Closed
AFusco opened this issue Nov 7, 2018 · 2 comments · Fixed by #389
Closed

Expose an API to manage tasks #187

AFusco opened this issue Nov 7, 2018 · 2 comments · Fixed by #389
Assignees
Labels
enhancement New feature or request

Comments

@AFusco
Copy link

AFusco commented Nov 7, 2018

I would like to add new images, create new tasks and dump annotations automatically through an API.

I'd like to upload a new image to an existing task directly from the camera, and then retrieve the latest dump from an external server/container.

I read in issue #95 that adding new images isn't currently supported.
Is such an API outside the scope of this project?

@nmanovic nmanovic self-assigned this Nov 7, 2018
@nmanovic nmanovic added the enhancement New feature or request label Nov 7, 2018
@nmanovic nmanovic added this to the Backlog milestone Nov 7, 2018
@nmanovic
Copy link
Contributor

nmanovic commented Nov 7, 2018

Hi @AFusco ,

First of all such API already exists but it isn't stable and well defined. A browser (client) makes request to CVAT server using a set of end points. For example, https://github.com/opencv/cvat/blob/d7e69982fd5f94d0499386f2bae605d22ce37ac2/cvat/apps/engine/urls.py#L11. Thus you can use any python library to prepare HTTP requests and send them to the server like a browser does.

Of course it would be much easy if CVAT provides a clear python API to do the same. I will keep the issue open. Thank you for the request.

@nmanovic nmanovic modified the milestones: Backlog, 0.4.0 - Beta Jan 7, 2019
@geraldmwangi
Copy link

+1 for that feature

@nmanovic nmanovic mentioned this issue Apr 11, 2019
TOsmanov pushed a commit to TOsmanov/cvat that referenced this issue Aug 23, 2021
* Ignore subsets of near-zero-ratio in splitter

Co-authored-by: Maxim Zhiltsov <[email protected]>
TOsmanov pushed a commit to TOsmanov/cvat that referenced this issue Aug 23, 2021
* bugfix - ignore subsets of near-zero-ratio (cvat-ai#187)

* Ignore subsets of near-zero-ratio in splitter

Co-authored-by: Maxim Zhiltsov <[email protected]>

* Fix validator imbalance threshold (cvat-ai#190)

* Validator threshold adjustment + style correction

Co-authored-by: Maxim Zhiltsov <[email protected]>

* Allow undeclared label attributes on CVAT format (cvat-ai#192)

* Add saving and parsing of attributes in label categories in Datumaro format

* Support common label attributes in CVAT format, add an option to ignore undeclared attributes

* Add logging for parsed parameters in plugins

* update changelog

* Fix export of masks with holes (cvat-ai#188)

* Fix export of masks with holes in polygons (background class should not introduce a new instance)

* update changelog

* Format fixes in COCO and VOC (cvat-ai#195)

* Allow splitting and merging of image directories in COCO export

* Avoid producing conflicting attributes in VOC segmentation

Co-authored-by: Jihyeon Yi <[email protected]>
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

Successfully merging a pull request may close this issue.

3 participants