barcode-scanner

Xcode AVCapturesession scan Barcode in specific frame (rectOfInterest is not working)

穿精又带淫゛_ 提交于 2019-12-18 09:18:58
问题 I am trying to design a barcode scanner for an App i am currently working on. I want the scanner preview to fill the whole screen of the device and provide a smaller frame to point at barcodes. All is working how i want it but i can not get the frame of interest to work. Here is the Implementation of the barcode scanner: #import "GEScannerViewController.h" @import AVFoundation; @interface GEScannerViewController () <AVCaptureMetadataOutputObjectsDelegate> { AVCaptureSession *_session;

Android - Barcode scanner

情到浓时终转凉″ 提交于 2019-12-18 07:15:26
问题 I need to create an app that one of the feature will have an barcode scanner. I was searching for some code examples to make an barcode scanner but i haven't found any full example code. Only thing that I found was an code example that works with Zxing app. But I don't want execute any secondary app. I want to have all-in-one. Anyone knows some example? Thanks. 回答1: ZXing is open source! If you realy want to implement your own barcode scanner then have a look in the source. You can browse the

Reading from an USB barcode scanner

血红的双手。 提交于 2019-12-17 23:14:45
问题 I've got this nice USB barcode scanner and I'd like to readthe input using the USB driver and not the keyboard input. How can this be accomplished using .NET? any ready libraries? I couldn't find anything of real use... Thanks! 回答1: If it is a USB reader, you should find the .net drivers that come with it, such that you get a class which provides the IO and perhaps more functionality. If the scanner has internally a USB to Serial converter, then you should see in your Device Manager which COM

How to Check if User input is from Barcode Scanner or Keyboard?

寵の児 提交于 2019-12-17 17:58:17
问题 I am creating a p.o.s application for a cafeteria company in which the cashier scans his employee ID and it shows his information for the transaction. My Problem is, the cashier can also use their keyboard for their input (employee ID) which is very risky. if employee(true) show employee information then add orders else Exception Currently I just hide TexTbox from the UI, click New Button then set cursor focus on it. Then cashier scans employee id. In this part, the cashier can also type via

Embedding ZXing in android app

醉酒当歌 提交于 2019-12-17 17:29:19
问题 So I'm another unlucky android development beginner who needs to have ZXing barcode scanner embedded in his app. There is plenty of questions asking how to do this here on stackoverflow but none of them has an answer that is really understandable and explanatory for a beginner. All the answers say something like "all you have to do is build the core lib of ZXing project, reference it your project and then copy some code from the ZXing's android/directory to your app and you're done". But this

How can I add a Javascript listener to capture input from bluetooth barcode scanner to iPad?

百般思念 提交于 2019-12-17 16:25:11
问题 I'm having trouble logging keystrokes in javascript on the iPad. The following script works on Chrome and Safari, but not iPad Safari. The bluetooth barcode scanner sends 12 digits as keystrokes, then sends a return character. Does anyone have any ideas? I think you will need an iPad to try this out :) Thanks, Mark $(document).ready(function(){ $(document).keypress(function(e){ if( e.keyCode == 13){ alert($('#barcode').attr('value')); $('#barcode').attr('value',''); } else{ var key = String

Javascript: How to read a hand held barcode scanner best?

只愿长相守 提交于 2019-12-17 15:28:38
问题 I'd like to be able to scan barcodes via a hand held scanner and handle the results with Javascript. A barcode-scanner works almost like a keyboard. It outputs the scanned/translated (barcode->number) data raw (right?). Actually I just need to catch the output and proceed. But how? Here's some pseudocode I'd like to make work: $(document).on("scanButtonDown", "document", function(e) { // get scanned content var scannedProductId = this.getScannedContent(); // get product var product =

Integrating barcode scanner into asp.net application?

一世执手 提交于 2019-12-14 04:15:06
问题 We have been developing web application in asp.net. We need barcode scanner to be integrated into our application. As i know scanner can acts as a key board, can you please tell the method to integrate barcode scanner into this asp.net web based application? 回答1: It's just a web page. Make sure the textbox you want the result in has focus right away, and just use the barcode scanner like a keyboard. You should be able to configure the scanner so it also "presses enter" which will allow your

Barcode Scanner doesn't work on Glass GDK

一个人想着一个人 提交于 2019-12-14 03:44:02
问题 I am new to Glass GDK development and I have a problem with scanning a barcode. I have followed this(http://blog.wombatsoftware.de/2014/01/running-zxing-qr-code-engine-on-google.html) post but my barcode scanner still doesn't work. it looks like a photo attached. I had a look also on BarcodeEye project but I don't understand how can I integrate it with my project. Can you please help me? CameraConfiguration public void googleGlassInit(Camera camera) { Camera.Parameters params = camera

Android : Get data from a barcode?

柔情痞子 提交于 2019-12-13 17:37:54
问题 I am building an android application which should allow the user to scan the barcode of a food and display as much detail as possible - ie Food name, nutritional information etc. So far I have implemented a barcode scanner using Zxing which will scan the barcode and display the barcode number. My question is, is there a way I can use the scanned barcode to get information on the particular food product? I know the barcode is just a number, and that in supermarkets barcodes information are