barcode

QR Codes - Camera Orientation/Projection

孤街浪徒 提交于 2019-12-11 04:41:11
问题 I am looking for a library or method to decode a QR Code (or potentially another form of 2d barcode) and to be able to actually determine the camera position and orientation. This seems like it should be doable, but I am not entirely sure. Does anyone know what the best route for this is? Or if it is even possible? 回答1: zxing is the open-source Google-hosted Java library for 2d barcodes including QR. see com.google.zxing.ResultMetadataType.ORIENTATION (optional metadata returned in a

Add a FNC1 character to code created with tcpdf datamatrix

走远了吗. 提交于 2019-12-11 03:26:09
问题 I am using tcpdf to generate datamatrix barcodes. Works really nice. Now I was asked if we could add fnc1 characters to our code. But I have no clue what the representation of the fnc1 character would be correct for the tcpdf generator. I came across this here http://sourceforge.net/p/tcpdf/discussion/435311/thread/161b1b1a But I would like to understand where the answer of using chr(241) actually comes from. To me it seems like it fell from the sky. Documentation doesn't say anything about

How to produce a Code 39 that can be reliably read after faxing

流过昼夜 提交于 2019-12-11 03:18:18
问题 My application is generating a Code 39 barcode but a customer is having problems with their document management system recognizing the barcode after the prints have been scanned and re-printed. I have also tested it using an online barcode reader which confirms that the barcode on their end document is not readable. Is there a best type of barcode to use, that would give the best results after printing, scanning and re-printing elsewhere? Here is an original barcode in the PDF straight from

GS1-128 barcode parsing

纵饮孤独 提交于 2019-12-11 00:52:43
问题 Scanner Model :- Motorola- DS4208-HC We need to parse the GS1-128 barcode. We know they are going to use GTIN(01), lot number(10), Expiration date(17), serial number (21). Input String:- (01)07612345678900(17)100503(10)AC3453G3(21)455777 The problem is that barcode reader outputs a string, the format is like this: 01076123456789001710050310AC3453G321455777 Since there is not a separator and both serial number and lot number are a variable length according to GS1 standard, we have trouble to

Convert barcode to number

风流意气都作罢 提交于 2019-12-10 18:27:19
问题 What online tool can be used to convert barcode image into number? There are many tools available that generate barcodes (convert numbers to image), but I need convert image into number, saying what type of barcode is used and what number is encoded in the image. 回答1: Online web service: http://zxing.org/w/decode.jspx Java library: https://code.google.com/p/zxing/ JavaScript for UPC: https://gist.github.com/tobeytailor/421369 .net: http://zbar.sourceforge.net/ Ruby: http://gbarcode.rubyforge

How to convert UPC-A to UPC-E?

夙愿已清 提交于 2019-12-10 18:25:30
问题 We would like to convert the 12 digit UPC-A to 8 digit UPC-E. Can you tell me which is the best way to do this without having to use my own code to convert? I got many formula for convert the 8 digit UCC-E to 12 digit UPC-A but not reverse. 回答1: NSString *strScannedCode = @"028200002921"; NSString *strBarCodeType = @"UPC E"; NSString *strAlteredScannedCode = strScannedCode; if ([strBarCodeType isEqualToString:@"UPC E"]) { if (strScannedCode.length == 12) { NSString *strManufacturerCode =

Embedding SVG in PDF using Wicked_PDF (wkhtmltopdf)

余生颓废 提交于 2019-12-10 17:25:59
问题 When I try to include an SVG in a PDF generated by wicked_pdf (wkhtmltopdf), it comes out blank. Any idea how to get the svg to display in the pdf? app/views/barcodes/to_pdf.html.haml <descriptive text here> %object#code_image{:data=>"/barcodes/generate_svg?code=4567898", :type=>"image/svg+xml", :height=>70} barcodes controller def generate_svg require 'barby' require 'barby/barcode/code_128' require 'barby/outputter/svg_outputter' barcode = Barby::Code128B.new(params[:code]) render :text =>

fire an event after the barcode reading and to set focus on textbox

坚强是说给别人听的谎言 提交于 2019-12-10 10:45:56
问题 I'm working with a basic Barcode Web App. I have two textbox, so I need to scan one, and then fire an event to set the focus to the other one (the length of both textbox are not equal). If the both barcodes matches a dataBase search, display some label with the dataBase information. Summary: Scan one barcode, automatically set focus to the other textbox then scan the second barcode, finally display a result of the database lookup. thanks guys! ps. I'm working with VS 2010, asp.net and C# as

Generating QR Barcode using iTextSharp

故事扮演 提交于 2019-12-10 10:45:04
问题 I have an array of values say arr(0)="Sam" arr(1)="1452" arr(2)="NY" I want to generate a QR barcode with these values. We are using ITextSharp. Any help will be appreciated. Iam using vb.net. 回答1: Here are some examples how to create barcodes with iText: http://itextpdf.com/examples/iia.php?id=297 (the last one is a QR barcode) The datails of the API is here: http://api.itextpdf.com/itext/com/itextpdf/text/pdf/BarcodeQRCode.html Please note that even though these links refer to the Java

Create barcode with text image (not pdf) using itextsharp

橙三吉。 提交于 2019-12-10 10:44:42
问题 I am able to create barcode using itextsharp CreateDrawingImage method. But I want to include the actual text into the image. How do I do that? or How do I use CreateImageWithBarcode method to save as image (Jpeg/Png)? Thanks 回答1: Facing the same problem and after looking in iTextSharp sources it appears you can't. Besides with CreateDrawingImage() I had problems with image resizing, it was fuzzy and unreadable. I ended up using this library (very cool): http://www.codeproject.com/KB/graphics