waitkey give incorrect input
when I press specific character it give to me 63. For example i press 'Ә' it must be 1240 but give 63 how i can solve it?
when I press specific character it give to me 63. For example i press 'Ә' it must be 1240 but give 63 how i can solve it?
use cv2.waitKeyEx() then.
(cv2.waitKey() does an internal (k & 0xff) masking)
ok, then i got it wrong, i assumed, you wanted "special" keys, like cursor.
also made a quick test, changing my laptop to kasakh keyboard, and i weirdly get 63 for all of the letters (space is still 32, though). there seem to be some language layouts, which do not return proper scankeys here (assamese, devanagari, yours)
no idea, what to do, sorry.
Hmm it might be possible that the cyrillic unicode block is not supported by default on your operating system? That could indicate why it is not working.
Also a problem i see is that for cyrillic, we should have a 0xFFFF instead of 0xFF which is applied now and only works for default latin layout. I am afraid the library is hitting it limits here.
Asked: 2018-04-22 01:44:19 -0600
Seen: 110 times
Last updated: Apr 22 '18
Area of a single pixel object in OpenCV
how to understand which functions available in python bindings?
Problems installing opencv on mac with python
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
OpenCV DescriptorMatcher matches
Can't compile .cu file when including opencv.hpp
Weird result while finding angle
cv2.perspectiveTransform() with Python
Using OpenCV's stitching module, strange error when compositing images