Re: Barcode Scanner project updated for Built-in iSights
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