-
Notifications
You must be signed in to change notification settings - Fork 265
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
A one-click event is trigger by double click event, which cause the program work not as expected. #37
Comments
Hello, thanks for your feedback. |
Yeah, I have tried to select a bbox, and then change the class of this bbox. But the class of bbox never change. |
Sorry for late reply. |
Does the problem remain with 3.2.0? I would actually recommend going to the newest version the |
It is so weird now, |
Gosh, I will try with other OpenCV versions (in 3.3.1 it works). |
yeah i think so! |
1> When I double-click at a bounding box, then is_bbox_selected is set to True
2> Right after that, a one-click event is trigger automatically, and is_bbox_selected is set to False
I found 2 solutions for that:
First: Using timer as mentioned on this https://stackoverflow.com/questions/21373110/how-to-distinguish-between-click-and-double-click-in-opencv
Second: I changed the code a bit in the event listener:
The text was updated successfully, but these errors were encountered: