Webcam QR Barcode Decoder Problem
-
my barcode decoder working fine with original JPG file of a QR barcode. but when i take a picture of the barcode using my webcam, system cann't recodnice the barcode of webcam picture(jpg). any one know why happen this....????
A S E L A
pretty simple really. Your picture is not going to be 100% without noise, 100% taken at the right angle, etc.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
pretty simple really. Your picture is not going to be 100% without noise, 100% taken at the right angle, etc.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
hi Christian Graus but i saw some sample applications can run n mobile phones. those application don't have that problem. how can i solve this problem??? any tips...???
A S E L A
Do some image processing on the picture to increase the contrast and flatten the colors out so you get a more consistent black and white images. Then send the processed image to your decoder.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
my barcode decoder working fine with original JPG file of a QR barcode. but when i take a picture of the barcode using my webcam, system cann't recodnice the barcode of webcam picture(jpg). any one know why happen this....????
A S E L A
Right, this is going to need you to do some work: First, read the QR barcode spec: QR 2005 barcode specification[^] - then you will know what you are trying to do. Second, the problem is likely to be resolution related, as the squares need to be pretty uniform and "pretty". Best method is to process several frames from the camera and build up the barcode format in memory from the various frames until you have a "good" image (this is how most scanners work - build an image from a number of scans, rather than a single scan). Keep building until the "compulsary" parts of the image are readable, and hopefully you will have the entire barcode. Good luck!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
Right, this is going to need you to do some work: First, read the QR barcode spec: QR 2005 barcode specification[^] - then you will know what you are trying to do. Second, the problem is likely to be resolution related, as the squares need to be pretty uniform and "pretty". Best method is to process several frames from the camera and build up the barcode format in memory from the various frames until you have a "good" image (this is how most scanners work - build an image from a number of scans, rather than a single scan). Keep building until the "compulsary" parts of the image are readable, and hopefully you will have the entire barcode. Good luck!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
Hi I just gone through your thread posted on codeproject. If you fond the solution of this problem then please share with me. Regards, Bhavesh Rajdeep
What part of my answer did you not bother to read? The solution is given - but you will have to implement it. I don't need to read barcodes on my mobile...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
-
What part of my answer did you not bother to read? The solution is given - but you will have to implement it. I don't need to read barcodes on my mobile...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.