Replies: 3 comments 1 reply
-
@ElevnLi , glad to hear that your team decided to integrate CVAT for data annotation. We don't have requested experience. Thus I will not be able to advise. At the same time we are ready to integrate necessary solutions which will help you with the task. Don't hesitate to send us a PR with required changes to support your platform. One idea which I have in my mind is to modify root urls.py and add necessary prefix: https://github.com/openvinotoolkit/cvat/blob/c79a4c1584f6fd9781c974512a50ea0b64cdd431/cvat/urls.py. Basically you can do that even without source code modification (ask me how). At the same time you need to add the prefix into UI as well. I believe it isn't supported out of the box. Correct file to make necessary modifications in UI: https://github.com/openvinotoolkit/cvat/blob/develop/cvat-core/src/config.js @bsekachev , any ideas? P.S. Don't hesitate to mention yourself here after you integrate CVAT: https://github.com/openvinotoolkit/cvat/#partnershttps://github.com/openvinotoolkit/cvat/#partners |
Beta Was this translation helpful? Give feedback.
-
Thanks @nmanovic and @bsekachev. I found changing Then when I integrate this infrastructure behind our nginx reverse proxy, it's always giving me '404 not found'. However, it finally works when I use traefik as the outer layer of proxy and actually put nginx behind it. I'm trying to add a prefix variable in cvat to make all of these more generic to work with. Thanks again for your quick reply and suggestions. Cheers. |
Beta Was this translation helpful? Give feedback.
-
@ElevnLi , thanks for the feedback. Don't hesitate to send us a PR with necessary fixes to simplify the integration process. We are ready to discuss, review and merge. |
Beta Was this translation helpful? Give feedback.
-
Hey there,
We are trying to integrate cvat into out open source Weed annotation platform.
We want to deploy cvat behind our nginx reverse proxy, and direct all the traffic of https://weed-ai.sydney.edu.au/annotation/ to traefik and then to cvat and cvat-ui. I'm using the traefik middleware to strip the prefix of the request like below:
Then when I request http://localhost/annotation/api/v1/tasks/2/data?type=preview, it's able to cut off the prefix.
My question is that is there a field you left for the frontend image or do you know a way to add prefix to every outgoing request, like when the frontend is communicating with the back, instead of requesting /api/..., it's requesting /annotation/api/..., then it's able to be redirected correctly.
Thanks for your help! We are really enjoying your work and happy to integrate it as a significant component of our platform.
Best,
Elevn
Beta Was this translation helpful? Give feedback.
All reactions