barcode-scanner

USB barcode reader in Qt4

我怕爱的太早我们不能终老 提交于 2019-12-01 04:29:36
问题 I was wondering how could I integrate a USB barcode scanner into a Qt application, as well as a barcode printer. I looked for tutorials but didn't find anything interesting out there. Any ideas? Thanks in advance. 回答1: Most barcode scanners, IIRC basically work like a keyboard from the point of view of your application. You just provide a text field and the barcode reader "types" what it reads. So you don't really need to worry about that, other than validating the input and maybe providing a

Accessing AutoFocus/Flash with Google Vision BarCode Reader

时光总嘲笑我的痴心妄想 提交于 2019-12-01 03:53:32
I am playing with the original example of BarCode scanner here: https://github.com/googlesamples/android-vision/blob/master/visionSamples/barcode-reader/app/src/main/java/com/google/android/gms/samples/vision/barcodereader/BarcodeCaptureActivity.java They are able to start the AutoFocus/Flash within the camera factory like this: // Creates and starts the camera. Note that this uses a higher resolution in comparison // to other detection examples to enable the barcode detector to detect small barcodes // at long distances. CameraSource.Builder builder = new CameraSource.Builder

The Phonegap Barcode Scanner don't recognize any barcode on windows phone

雨燕双飞 提交于 2019-12-01 02:35:03
I'm trying to add the Phonegap Barcode scanner plugin to my Phonegap app. I'm primarily developing for windows phone 8 but I also want to target the ios and android platforms. I managed to add the plugin correctly, but when I start the scan, my windows phone doesn't recognize any barcodes. It just shows the video screen with a focus button and a green square. Here's my code for the scan: function Scan() { window.plugins.barcodeScanner.scan(function (result) { barcode = result; alert(barcode.text); }, function (error) { alert("Scanning failed: " + error); }); }; this function is called on

Getting started with ZXing on Android

◇◆丶佛笑我妖孽 提交于 2019-11-30 23:10:30
I'm trying to add ZXing to my project (add a button which calls the scanner upon press). I found this: http://groups.google.com/group/android-developers/browse_thread/thread/788eb52a765c28b5 and of course the ZXing homesite: http://code.google.com/p/zxing/ , but still couldn't figure out what to include in the project classpath to make it all work! As for now, I copied the classes in the first link to my project (with some package name changes), and it runs but crashes after pressing the button and trying to install the barcode scanner. Some code: private void setScanButton(){ Button scan =

How to reliably detect a barcode's 4 corners?

孤者浪人 提交于 2019-11-30 21:03:39
I'm trying to detect this Code128 barcode with Python + zbar module: (Image download link here ). This works: import cv2, numpy import zbar from PIL import Image import matplotlib.pyplot as plt scanner = zbar.ImageScanner() pil = Image.open("000.jpg").convert('L') width, height = pil.size plt.imshow(pil); plt.show() image = zbar.Image(width, height, 'Y800', pil.tobytes()) result = scanner.scan(image) for symbol in image: print symbol.data, symbol.type, symbol.quality, symbol.location, symbol.count, symbol.orientation but only one point is detected: (596, 210) . If I apply a black and white

Zxing sometimes picks up the wrong data from barcode

元气小坏坏 提交于 2019-11-30 19:16:25
问题 I know this might be rather a simple issue to ask for and we can also set the barcode format to be scanned by Zxing, like this: (1) intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); //or any other format if we do this: (2) intent.putExtra("SCAN_MODE", "SCAN_MODE"); //for all modes` While doing the #2 mentioned right above this line, the scanner sometimes seems to scan part of the barcode and picks up wrong information. For example if I try to simply scan a UPC barcode, 98% of the times it works

problem with barcode scanner reading value into text box

依然范特西╮ 提交于 2019-11-30 16:41:15
I have a barcode scanner which reads the string of the barcode and displays in the active text box. The issue I am having, is that I need that barcode to be used as soon as its scanned (no user "ok" button). When I do the Text Changed event, it fires as soon as the first character of the barcode is entered into the text box. (i.e if the barcode is 123r54122, it fires with '1' in the text box). There is no consistent end character to the barcode, or standard length. So how would I go about firing a method when the WHOLE string has been read in? You can verify text length (I think it is constant

Barcode Reader for 3G

不羁岁月 提交于 2019-11-30 16:19:18
I am newbie to iPhone application. But recently I saw a post asking for Barcode Reader for 3G iPhones. And people(including me) have referred to zxing which works on 3GS or later and if you want to make an appication for 3G then better you buy it from QuickMark or RedLaser to get 3g scanning. So I planned something and need several information from you all There are lots available on appStore. One of them is pic2shop(Which is a free application). But what I want to know is: What exactly is it done to recognize the barcode and generate code? Is there any website or link to which when image of

How to reliably detect a barcode's 4 corners?

三世轮回 提交于 2019-11-30 15:57:14
问题 I'm trying to detect this Code128 barcode with Python + zbar module: (Image download link here). This works: import cv2, numpy import zbar from PIL import Image import matplotlib.pyplot as plt scanner = zbar.ImageScanner() pil = Image.open("000.jpg").convert('L') width, height = pil.size plt.imshow(pil); plt.show() image = zbar.Image(width, height, 'Y800', pil.tobytes()) result = scanner.scan(image) for symbol in image: print symbol.data, symbol.type, symbol.quality, symbol.location, symbol

Suitable api to get product details from scanned barcode iphone app?

吃可爱长大的小学妹 提交于 2019-11-30 15:50:32
问题 Am developing sample barcode scanner app. I using ZBar API to scan the barcode from the product. It is working very fine. Now, looking to get the product of the scanned barcode. I want to get the below details of the product from the api, Product Name Product Price Selling fees (eBay or Amazon fees) Shipping costs Shipping dimensions Shipping weights I am searched and continuing to get the exact result for the question in google. But, not yet get it right now. Can anyone please suggest your