Public bug reported:
Binary package hint: libdecodeqr-examples
1) Ubuntu 10.04.1 LTS
2) libdecodeqr-examples 0.9.3-2ubuntu1
3) when I hit a space for grab qrcode image from my webcam, the
libdecodeqr-webcam is terminated.
return code from cvWaitKey() is not char 0x20 but 0x100020.
4) following patch is needed.
--- a/src/sample/webcam/webcam.cpp 2007-02-26 04:42:28.0 +0900
+++ a/src/sample/webcam/webcam.cpp 2010-10-27 15:34:28.959167170 +0900
@@ -79,7 +79,7 @@
//
// when [SPACE] key pressed, do decode.
//
-if(key==0x20!qr_decoder_is_busy(decoder)){
+if((key0xff)==0x20!qr_decoder_is_busy(decoder)){
key=-1;
//
** Affects: libdecodeqr (Ubuntu)
Importance: Undecided
Status: New
--
libdecodeqr-webcam grab fail
https://bugs.launchpad.net/bugs/667167
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs