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

Feature request: Temporarly disabling OpenCV intelligent scissors to create a boundary manually [Shortcut?] #3383

Closed
michaelyyq opened this issue Jul 2, 2021 · 13 comments
Labels
enhancement New feature or request

Comments

@michaelyyq
Copy link

  1. When using opencv polygon annotation mode, blur boundary is noisy. If it can be turned to normal polygon mode with hot key, it will be great.
  2. When editing the polygon annotation, how can we add point.
@bsekachev
Copy link
Member

Hi @michaelyyq

  1. When using opencv polygon annotation mode, blur boundary is noisy. If it can be turned to normal polygon mode with hot key, it will be great.

Could you please provide an example for better understanding?

  1. When editing the polygon annotation, how can we add point.

Holding "Shift" press on a point. Release "Shift". Then you can redraw a part of the boundary (you also can add a point in the middle). Then press a neighbor point.

Peek 2021-07-02 12-51

@michaelyyq
Copy link
Author

Hi @michaelyyq

  1. When using opencv polygon annotation mode, blur boundary is noisy. If it can be turned to normal polygon mode with hot key, it will be great.

Could you please provide an example for better understanding?

  1. When editing the polygon annotation, how can we add point.

Holding "Shift" press on a point. Release "Shift". Then you can redraw a part of the boundary (you also can add a point in the middle). Then press a neighbor point.

Peek 2021-07-02 12-51

@michaelyyq michaelyyq reopened this Jul 2, 2021
@michaelyyq
Copy link
Author

  1. Example: When using Opencv mode, it will detect the boundary and create polygon points automatically. But often the boundary is blurry so that the created points deviate too far which I have to change or move carefully with a tiny step. The moment what I want is that I can draw a line manually.

@michaelyyq
Copy link
Author

If there is a hot key to switch automatically boundary creating and manually drawing, it will be better.

@michaelyyq
Copy link
Author

Do I express clearly? Need a gif animation?

@michaelyyq
Copy link
Author

cvat#3383.png

  • cvat#3383
    Please see the picture, point C is not what I want, I want point A to move straight to point B as a line segment.

@michaelyyq
Copy link
Author

Because of the indistinct boundary between point A and point B, Opencv line detection is deviating to point C. I want to draw a line A to B in polygon draw mode when it is needed or I will listen to the Opencv recommended points. So it needs a function to switch between the two modes by a hotkey freely.

@michaelyyq
Copy link
Author

@bsekachev Hi, Will you be free to answer my question?Look forward to your answer.

@bsekachev
Copy link
Member

@michaelyyq

As far as I understand, you want to temporarily disable the OpenCV algorithm to draw a part of the border manually, then enable it again. It might be implemented for example by holding a key (when it is held, OpenCV does not suggest automatic borders). But this feature is not implemented yet.

@michaelyyq
Copy link
Author

@bsekachev Thanks for your great answer. You just get what I mean. Will you mind planning to implement this feature recently? For tedious annotation jobs, it will significantly improve convenience with this feature.

@bsekachev
Copy link
Member

@michaelyyq

We do not have direct plans to implement it, but now we are working on improvements in serverless functions and OpenCV integration. Probably we could implement it on our side together with other features, but I can promise anything. Since CVAT is an open-source tool, it would be awesome if somebody from the community could provide us the feature.

@bsekachev
Copy link
Member

Related #2800

@bsekachev bsekachev added the enhancement New feature or request label Jul 5, 2021
@bsekachev bsekachev changed the title New feature advise about polygon annotation. Feature request: Temporarly disabling OpenCV intelligent scissors to create a boundary manually [Shortcut?] Jul 5, 2021
@bsekachev
Copy link
Member

bsekachev commented Mar 28, 2024

Implemented, see the PR above

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

2 participants