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: Brad Peterson <email@hidden>
- Date: Tue, 14 Nov 2006 16:23:34 -0800 (PST)
Hi,
Could this project be used as a basis for reading
numbers off a receipt that might not have a barcode?
(Sorry, I know that's a weird question, but a client
asked so I'm asking. ;) )
Thanks!
--- Conor Dearden <email@hidden> wrote:
> > 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
>
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
_______________________________________________
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