• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Barcode Scanner project updated for Built-in iSights
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Barcode Scanner project updated for Built-in iSights


  • Subject: Re: Barcode Scanner project updated for Built-in iSights
  • From: Conor Dearden <email@hidden>
  • Date: Fri, 03 Nov 2006 22:22:25 +0100

> Does your code support Code 39 barcodes? I was looking at integrating your
> classes into a current project, but I couldn't get Code 39 barcodes to scan.

The Barcode Scanner project does not support Code-39; the supported
encodings so far are only UPC and EAN. But a branching function could be
added for Code-39. The area to start the split is at
getBars:forLine:derivative: as code-39 has more than 96 bars.

float barWidth = (endBarcode - startBarcode) / 96.0;

After that instead of calling readBars: you would call your own function:
ReadBarsCode39: as code-39 has a different encoding.

Conor




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Barcode Scanner project updated for Built-in iSights
      • From: Brad Peterson <email@hidden>
  • Prev by Date: Re: Invisible Characters & Specifying Their "Width"
  • Next by Date: Re: column of buttons in NSTableView - a solution?
  • Previous by thread: Re: Barcode Scanner project updated for Built-in iSights
  • Next by thread: Re: Barcode Scanner project updated for Built-in iSights
  • Index(es):
    • Date
    • Thread