Questions tagged [zbar]

for questions not specific to iPhone. ZBar is an open source (GNU LGPL 2.1) software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.

ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. ZBar supports several platforms: Windows, Linux, iPhone.

ZBar is used widely in iOS applications and has an SDK specifically for iphone devices.

ZBar SDK supports the iPhone 3GS and iPhone 4, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G. At the same time ZBar supports iPad 2 camera, in spite of absense of auto-focus camera.

ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

Use this tag for ZBar issues not related to iPhone ZBar SDK, for which there is a specific tag.

392 questions
0
votes
1 answer

add zbar to my application

I whould like to add the zbar scanner to my simple application. I just created a new project on eclipse. activity_main.xml
0
votes
1 answer

Th barcode is not getting detected in Zbar in Android

I am new to Android. I am trying to read the barcode using zbar. I am testing with DushyanthMaguluru/ZBarScanner/ZBarScannerDemo. The problem is the application is opening and when i click scan button it simply opens the camera and the red line to…
Sarulatha
  • 31
  • 3
0
votes
1 answer

Using zbarcam from nodejs

I am trying to use zbarcam to monitor the usb cam and shoot back the QR Codes it sees. I am new to both Zbarcam and Nodejs, but have done a fair amount of research and cannot see what is wrong. I am running this on Ubuntu 12.04 LTS and it works…
Ajarti
  • 1
  • 2
0
votes
1 answer

ZBar SDK - Not exactly sure what's going on

I'm fairly new to the iOS SDK and Objective C, and I'm not exactly sure what's going on in this code snippet: -(IBAction) scanButton{ ZBarReaderViewController *reader = [ZBarReaderViewController new]; reader.readerDelegate = self; …
0
votes
1 answer

Zbar importing Library issues

I am having trouble importing the zbar library properly. I am following this guide: https://github.com/DushyanthMaguluru/ZBarScanner The guide says: Download this project and add it as a library project to your existing Android app I downloaded this…
Bawn
  • 509
  • 3
  • 13
  • 36
0
votes
2 answers

Zbar R cannot be resovled

I have just imported the zbar example project into eclipse. I have started the AVD, but when I go to run the zbar example I get a pop-up saying there are errors in the code. When I went looking for errors the only ones I could find are the ones…
Bawn
  • 509
  • 3
  • 13
  • 36
0
votes
1 answer

saving Zbar barcode as image

I want to use barcode scanner into my application and i am using Zbar library however, i can scan barcode but i want to save scanned image into sd card. So far, i can able to capture image and save into SD but when i try to open it i have broken…
user2322215
0
votes
2 answers

Script only works in Python installed directory

I have this script which read bar codes from images. from PIL import Image import zbar scanner = zbar.ImageScanner() scanner.parse_config('enable') pil = Image.open('zbartest2.png').convert('L') width, height = pil.size raw = pil.tostring() image =…
Chris Aung
  • 9,152
  • 33
  • 82
  • 127
0
votes
1 answer

Camera pose estimation using QR codes in MATLAB

i'm trying to learn camera pose estimation and have been been through quite a lot of material. I want to calculate the pose of the camera using QR codes (quick response code) set up like this on an standard A4: A0 A1 B0 B1 C0 C1 Took some photos of…
0
votes
1 answer

Zbar not scanning after use of camera

I have an app that start with scanning a qr code. After scanning if I use the camera to take picture and then go back to the scanning view the scanning does not work. I dont know the reason, issue is only in IOS7 devices, both iPad and iPhone. I…
oopsi
  • 1,919
  • 3
  • 21
  • 28
0
votes
1 answer

zbar barcode scanning from only image no image view or camera roll

Hi if i make a image capture screen with this -(void)initializecam{ AVCaptureSession *session = [[AVCaptureSession alloc] init]; session.sessionPreset = AVCaptureSessionPresetMedium; CALayer *viewLayer =…
souvickcse
  • 7,742
  • 5
  • 37
  • 64
0
votes
1 answer

iOS ZBAR instantiateViewControllerWithIdentifier after reader didFinishPickingMediaWithInfo

Im running a function under didFinishPickingMediaWithInfo but how can i render another viewController after the function finish - (void) imagePickerController: (UIImagePickerController*) reader didFinishPickingMediaWithInfo: (NSDictionary*) info { …
jtomasrl
  • 1,430
  • 3
  • 13
  • 22
0
votes
2 answers

Zbar scanner and autofocus

I have used zbar scanner for android and it captures the barcodes quite easily. But the problem is that on phones which have autofocus, it captures the barcodes too quickly to detect it correctly. If only it could wait for a few milliseconds more,…
kookaburra
  • 21
  • 3
0
votes
1 answer

Could not find class 'net.sourceforge.zbar.ImageScanner' referenced method com.rockers.entrymanager.CameraTestActivity.onCreate

when i click on the scan my application is stopped. I have also import that. /* Import ZBar Class files */ import net.sourceforge.zbar.ImageScanner; import net.sourceforge.zbar.Image; import net.sourceforge.zbar.Symbol; import…
Rahul Patel
  • 81
  • 2
  • 10
0
votes
1 answer

Reduce area to scan in Android

Is it possible to reduce the area to scan in the camera? I have multiple barcodes next to each other and I need a way to differentiate them. I'm using ZBar.
Mark Renton
  • 101
  • 2
  • 7