good luck with this one. I pursued a course along these lines a while
back, and the only thing I managed to figure out is that Wil Shipley
is a genius.
As best I can figure out from the C source I dissected, you need to
engage the iSight camera and catch the frames (easy enough...), then
you need to extract thin sections of the still frame accross your
desired lines of axis
(e.g. horizontal, vertical, 45deg etc), and rotate them onto a
horizontal plane. (again, not too hard)
After that, you need to desaturate theses "strips" and apply some
contrast masking to increase the contrast to a point where the black
and white are distinct enough. (harder, but I managed to get this far)
After that, it's a simple matter of looping through each strip on a
pixel level, to determine what kind of barcode it is, and then
interpret the data, keeping in mind that you may need to scale the
information bigger or smaller to reach a 'norm', but keep black and
white areas in proportion to one another.
I found it much easier to supply all my clients with barcode scanners.
On 15/08/2007, at 11:39 PM, Dr Gerard Hammond wrote:
> Does anybody have a iSight barcode scanning module they want to share?
> Dr Gerard Hammond
> MacSOS Solutions
> Unsubscribe or switch delivery mode:
> Search the archives:
Unsubscribe or switch delivery mode:
Search the archives: