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 move active rectangles and FN + arrows can't change scales either #5

Open
NicoleWang opened this issue Apr 9, 2017 · 5 comments

Comments

@NicoleWang
Copy link

I can't modify a active rectangle using arrows. And Fn key + arrows can not change the rotation or scale either. Every time I press "->" , it only displays the next image.

@christopher5106
Copy link
Owner

Sounds like you keyboard has not the same values for the keys. Try to print the key value to check when pressing the key what value it has

@fionachui
Copy link

I ran into this problem as well. I worked around it by changing the code to look for different values for the rotation/change position functions. I'm using 1 for left, 2 for down, 3 for right, and 5 for up.

See:
https://stackoverflow.com/questions/45580975/opencv-handling-arrow-keys-with-waitkey-function

@vorsprung
Copy link
Contributor

I've fixed this on ubuntu18.04, will submit a patch

@vorsprung
Copy link
Contributor

I've made a fork https://github.com/vorsprung/FastAnnotationTool which compiles on Ubuntu 18.04 and the arrow keys work (with the space bar for flipping modes)
There's a pull request for it too

@nithishv
Copy link

I had the same issue. Found that having Num Lock on disables the arrow key movement on some laptops.
Turn off the Num Lock and you can move with arrow keys.
To scale, you don't need FN key. Instead use Page Up and Page Down to scale and Home and End Keys to rotate the rectangle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants