Discussion:
Barcode Reading
buzb
2013-06-18 16:04:41 UTC
Permalink
Hi all,

Could I get some advice on barcode reading with the machine vision tools in
python please? I would like to develop a function to identify and read a
barcode in a series of images that look like the attached image. Could
anyone offer some advice please?

Also, in a separate thread, I would like to get some advice on an efficient
algorithm for reading out the average color values in each of the 96 wells
in the image.

Thanks! and all the best,

--Buz
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Anthony Oliver
2013-06-18 17:54:00 UTC
Permalink
It's pretty straight forward in SimpleCV:

img = Image('SOG1-BF-0710600360484_reduced.jpg')
barcode = img.findBarcode()
print barcode.data

You will need zbar library installed, you also might get much higher
accuracy if you fixture off the corners of that unit, or do a findBlobs to
locate the circles and use a much smaller ROI.



Sight Machine
Anthony Oliver
www.sightmachine.com
Post by buzb
Hi all,
Could I get some advice on barcode reading with the machine vision tools
in python please? I would like to develop a function to identify and read a
barcode in a series of images that look like the attached image. Could
anyone offer some advice please?
Also, in a separate thread, I would like to get some advice on an
efficient algorithm for reading out the average color values in each of the
96 wells in the image.
Thanks! and all the best,
--Buz
--
You received this message because you are subscribed to the Google Groups
"pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
buzb
2013-06-21 20:26:29 UTC
Permalink
Thanks Anthony!
Post by Anthony Oliver
img = Image('SOG1-BF-0710600360484_reduced.jpg')
barcode = img.findBarcode()
print barcode.data
You will need zbar library installed, you also might get much higher
accuracy if you fixture off the corners of that unit, or do a findBlobs to
locate the circles and use a much smaller ROI.
Sight Machine
Anthony Oliver
www.sightmachine.com
Post by buzb
Hi all,
Could I get some advice on barcode reading with the machine vision tools
in python please? I would like to develop a function to identify and read a
barcode in a series of images that look like the attached image. Could
anyone offer some advice please?
Also, in a separate thread, I would like to get some advice on an
efficient algorithm for reading out the average color values in each of the
96 wells in the image.
Thanks! and all the best,
--Buz
--
You received this message because you are subscribed to the Google Groups
"pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...