QR DETECTION WITH OPENCV AND VISUAL STUDIO
I need to develop an application which detects QR codes through a webcam. I have been working with OpenCV and Visual Studio 2010, detecting squares in general. Then I found a library called "libdecodeqr" which you can use with OpenCV. With this library there is an example (the name is "webcam") to detect and decode QR codes using a webcam and it works succesfully, but if there are various Q开发者_StackOverflowR codes on the screen or paper, the application only recognizes a QR code,not the rest. I would like to know where I can find the algorithm to detect QR codes (something similar to the "square.cpp" in OpenCV) or the steps to develop it.
Thanks in advance.
Try the ZBar
library, it's also very easy to use and here you can find how to use it with OpenCV. It works fine for me but you should be aware of the typo in the example:
It's (char*)img->data.ptr
, not (char)img->data.ptr
.
精彩评论