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

Can't use the mouse to change the size of Bounding Boxes. #7

Closed
N-NEJATISHAHIDIN opened this issue Apr 18, 2021 · 6 comments · Fixed by #8
Closed

Can't use the mouse to change the size of Bounding Boxes. #7

N-NEJATISHAHIDIN opened this issue Apr 18, 2021 · 6 comments · Fixed by #8
Assignees
Labels
bug Something isn't working

Comments

@N-NEJATISHAHIDIN
Copy link

Hi,

I am trying to use this labeling tool, but I cannot use my mouse to change the size of the bounding boxes. Instead, there is another curser available which is impossible to use for all locations. I have also attached the image for more clarification.
Screen Shot 2021-04-18 at 12 05 00 PM

@ch-sa ch-sa self-assigned this Apr 18, 2021
@ch-sa ch-sa added the bug Something isn't working label Apr 18, 2021
@ch-sa
Copy link
Owner

ch-sa commented Apr 18, 2021

Hi @N-NEJATISHAHIDIN,

thanks for reporting the bug. The green crosshairs should never be that far away from the cursor.
However, I can not replicate that same behaviour on my machine with the current version; here the cursor works as expected.

Can you give me some more details about the behaviour …

  1. Is the crosshair at a constant distance from the cursor or "jumping"?
    … and your setup …
  2. OS and Python version
  3. Versions of the depencies (especially your PyOpenGL version)
    → use pip list or conda list

Best,
Christoph

PS: You can only change the size of the currently active bounding box (marked with green color).

@N-NEJATISHAHIDIN
Copy link
Author

N-NEJATISHAHIDIN commented Apr 19, 2021

Thanks for your quick response!

  1. It does not jump but it changes slightly. I have uploaded a video.
    https://user-images.githubusercontent.com/60449580/115168870-64159880-a08a-11eb-9c59-b7b1d69149e8.mov

2)python 3.6.7, OS Mac 10.15.7
3)
Package Version


addict 2.4.0
appnope 0.1.2
argon2-cffi 20.1.0
async-generator 1.10
attrs 20.3.0
backcall 0.2.0
bleach 3.3.0
cffi 1.14.5
cycler 0.10.0
decorator 5.0.7
defusedxml 0.7.1
entrypoints 0.3
importlib-metadata 4.0.0
iniconfig 1.1.1
ipykernel 5.5.3
ipython 7.16.1
ipython-genutils 0.2.0
ipywidgets 7.6.3
jedi 0.18.0
Jinja2 2.11.3
joblib 1.0.1
jsonschema 3.2.0
jupyter-client 6.2.0
jupyter-core 4.7.1
jupyterlab-pygments 0.1.2
jupyterlab-widgets 1.0.0
kiwisolver 1.3.1
MarkupSafe 1.1.1
matplotlib 3.3.4
mistune 0.8.4
nbclient 0.5.3
nbconvert 6.0.7
nbformat 5.1.3
nest-asyncio 1.5.1
notebook 6.3.0
numpy 1.19.5
open3d 0.11.2
packaging 20.9
pandas 1.1.5
pandocfilters 1.4.3
parso 0.8.2
pexpect 4.8.0
pickleshare 0.7.5
Pillow 8.2.0
pip 21.0.1
pluggy 0.13.1
plyfile 0.7.3
prometheus-client 0.10.1
prompt-toolkit 3.0.18
ptyprocess 0.7.0
py 1.10.0
pycparser 2.20
Pygments 2.8.1
PyOpenGL 3.1.5
pyparsing 2.4.7
PyQt5 5.15.4
PyQt5-Qt5 5.15.2
PyQt5-sip 12.8.1
pyrsistent 0.17.3
pytest 6.2.3
python-dateutil 2.8.1
pytz 2021.1
PyYAML 5.4.1
pyzmq 22.0.3
scikit-learn 0.24.1
scipy 1.5.4
Send2Trash 1.5.0
setuptools 39.0.1
six 1.15.0
sklearn 0.0
terminado 0.9.4
testpath 0.4.4
threadpoolctl 2.1.0
toml 0.10.2
tornado 6.1
tqdm 4.60.0
traitlets 4.3.3
typing-extensions 3.7.4.3
wcwidth 0.2.5
webencodings 0.5.1
widgetsnbextension 3.5.1
zipp 3.4.1

@ch-sa
Copy link
Owner

ch-sa commented Apr 19, 2021

Thanks for the video,

I still cannot reproduce the same behavior with the same dependencies. However I think it could be due to a problem of GLU.gluUnProject with Mac. Are you using a retina display?

@ch-sa
Copy link
Owner

ch-sa commented Apr 19, 2021

I applied the described fix in a new branch mac-retina-fix. Could you please clone this branch into a new folder and try again:

git clone --branch mac-retina-fix https://github.com/ch-sa/labelCloud

Also there will be a new DEBUG output in the terminal; could you please copy that here?

@N-NEJATISHAHIDIN
Copy link
Author

I do use the Retina display.
Thanks, It works!

This is the DEBUG output :
Screen Shot 2021-04-19 at 5 39 03 PM

@ch-sa
Copy link
Owner

ch-sa commented Apr 20, 2021

That's great to hear. I will merge that branch soon into master. Until then the branch should be stable enough to be used already.

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

Successfully merging a pull request may close this issue.

2 participants