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

CVAT new UI: Filter property "shape" and operator "~=" #1444

Closed
TOsmanov opened this issue Apr 21, 2020 · 5 comments
Closed

CVAT new UI: Filter property "shape" and operator "~=" #1444

TOsmanov opened this issue Apr 21, 2020 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@TOsmanov
Copy link
Contributor

In the new UI, it’s not clear how to use a filter with the "shape" property,
I tried the filter "shape == polygon" and the like, but they just hide all the objects.
And also I did not understand in what cases to use the operator "~ =", for example, applying the filter "width ~ = 100" causes an error:

image

bsekachev added a commit that referenced this issue Apr 21, 2020
@bsekachev bsekachev added the bug Something isn't working label Apr 21, 2020
@bsekachev bsekachev self-assigned this Apr 21, 2020
@bsekachev bsekachev added this to the 1.0.0-beta.2 milestone Apr 21, 2020
@nmanovic
Copy link
Contributor

@TOsmanov , please confirm that the problem is resolved.

@bsekachev
Copy link
Member

@TOsmanov
Right filter for shape type is shape == "polygon". We've also added the example to CVAT.

@TOsmanov
Copy link
Contributor Author

@nmanovic Problem resolved
@bsekachev Thanks, and the operator "~ =" will not be used?

@bsekachev
Copy link
Member

@TOsmanov
There were two issues with this operator. First right operator is =~, not ~=
Second is that operator allows to use regular expressions (according to specification), but technically a library that we use doesn't support this operator.
So, I've just removed it from CVAT.

@TOsmanov
Copy link
Contributor Author

@bsekachev ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants