barcode

DataMatrix-encoding with zxing only generates 14px bitmap

冷暖自知 提交于 2019-12-22 04:41:03
问题 I'm using zxing to generate barcodes with different types (EAN, 2of5 and DataMatrix). Generating in general works fine. The only problem I currently have is that zxing only generates a 14x14 pixel bitmap which is way too small. But only when using DataMatrix! EAN13, 2of5/ITF and QR-Codes work perfect with the same code. My code: BitMatrix bitMatrix = new DataMatrixWriter().encode(message, BarcodeFormat.DATA_MATRIX, 1080, 1080, null); int height = bitMatrix.getHeight(); //height is always 14,

Android Barcode Scanner

白昼怎懂夜的黑 提交于 2019-12-22 01:42:26
问题 I am using Biggu barcode library. Packaged library has been listed everything using demo and sample application. But I am getting no class definition found error java.lang.NoClassDefFoundError: com.biggu.scannerdemo.ScannerActivity But the class is in package and manifest file lists all the activities. Build path has biggu_scanner-1.1.0.jar file in its path. package com.biggu.scannerdemo; import com.biggu.barcodescanner.client.android.Intents; import android.app.Activity; import android

Python evdev and bar code scanner

房东的猫 提交于 2019-12-22 01:39:18
问题 I have a following code which I use to catch input from bar code scanner. The problem is in that I want to save whole scanned code in database, but every character of code prints on new line: #!/usr/bin/env python from evdev import InputDevice, ecodes, list_devices from select import select keys = "X^1234567890XXXXqwertzuiopXXXXasdfghjklXXXXXyxcvbnmXXXXXXXXXXXXXXXXXXXXXXX" dev = InputDevice("/dev/input/event10") barcode = "" while True: r,w,x = select([dev], [], []) for event in dev.read():

is there any free barcode reader sdk for Windows Phone 7?

纵然是瞬间 提交于 2019-12-21 21:37:30
问题 I am developing windows mobile application to scan a product barcode by using in built camera. Can you tell me something about barcode reader sdk which are supporting windows mobile 7? 回答1: In Windows Phone 7, with the upcoming Mango update, there will be direct access to the camera feed, without having to take a picture of the barcode. Prior to Mango, there is a library that can be downloaded from Codeplex, called ZXIng (Zebra Crossing). http://silverlightzxing.codeplex.com/ Are you

Reading barcodes using python

故事扮演 提交于 2019-12-21 20:44:53
问题 I want to read barcodes using USB barcode reader in python. I searched for library that support barcode reading and also support python 2.7, but I didn't find anything. Is there any library that can help me? Also if you know any tutorial about barcode reading, please tell me where can I find that (because I'm new in barcode :) ). 回答1: (Better late than never...) : Pyzbar and OpenCV should do what you want. Here is the code I'm using with Python 3: #!/usr/bin/python3 # -*- coding: Utf-8 -*-

Implement Realtime Barcode Scanner on Windows Phone 8.1 Runtime using ZXing and MFT

空扰寡人 提交于 2019-12-21 12:39:17
问题 I'm working on a Windows Phone 8.1 Runtime shopping application which needs barcode scanner feature. I'm using the ZXing lib, which is fine. My problem isn't about decoding the picture, ZXing does a great job, but to get the Camera Preview realtime, and feed it to ZXing. After a little research I found this forum https://web.archive.org/web/20150328233747/http://developer.nokia.com/community/discussion/showthread.php/247707-Windows-Phone-8-1-Windows-Media-Capture-API-and-Preview-Frames. Can

USB interface barcode scanners

徘徊边缘 提交于 2019-12-21 11:40:12
问题 Not exactly a programming question, but close. I'll try my luck anyway. The keyboard wedge barcode scanner inserts the translation device between the reader and the keyboard. Data sent through a wedge appears as if it was typed into the computer, while the keyboard itself remains fully functional . Because a computer using a keyboard wedge can't tell the difference between data that is entered by a scanning device, or data that is entered by keyboard typing, a wedge can be used to easily add

Barcode field length

我与影子孤独终老i 提交于 2019-12-21 09:36:43
问题 I'm writing some attendance software. Each member will have an ID card with a barcode which they will use to sign in to events. How long should the barcode field be in my database? I'd like to accept Code 39 and Code 128 barcodes. I know these are variable length codes, so what should I set the max length to? Thanks! EDIT: My clients will be using a variety of third-party barcode printing tools. 回答1: Code 128 can do 128 ASCII characters so set the max length to 128 (or higher, it doesn't

iPhone simple commercial barcode reader via camera [duplicate]

落爺英雄遲暮 提交于 2019-12-21 06:32:09
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Is there a barcode recognition framework for iOS? I've done some iPhone programming (safely midlevel) and now a requirement has come up for us to write a barcode reader that uses the iPhone camera. This is not for shopping or the general public but will be for internal use. My first thought was to simply programatically take a picture, upload it to server, and have a web service or something similar handle the

Any free UPC/Barcode DBs [closed]

好久不见. 提交于 2019-12-21 05:29:05
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I'm looking for a free UPC or Barcode database that is available for download. I have seen upcdataBase.com and a few others, but those