FastAnnotationTool icon indicating copy to clipboard operation
FastAnnotationTool copied to clipboard

can't move active rectangles and FN + arrows can't change scales either

Open NicoleWang opened this issue 7 years ago • 5 comments

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.

NicoleWang avatar Apr 09 '17 07:04 NicoleWang

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

christopher5106 avatar Apr 09 '17 08:04 christopher5106

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

fionachui avatar Jan 15 '18 15:01 fionachui

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

vorsprung avatar Jan 16 '19 16:01 vorsprung

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

vorsprung avatar Jan 16 '19 20:01 vorsprung

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

nithishv avatar Jun 14 '19 08:06 nithishv