473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Python barcode decoding

Does anyone know of any decent (open source or commercial) python
barcode recognition tools or libraries. I need to read barcodes from
pdfs or images, so it will involve some OCR algorithm. I also only
need to read the code 93 symbology, so it doesn't have to be very
fancy. The most important thing to me is that it outputs in some
python friendly way, or ideally that it is written in python. Any
tips would be great!
Oct 24 '08 #1
6 9788
On Oct 24, 12:05*pm, Robocop <btha...@physics.ucsd.eduwrote:
Does anyone know of any decent (open source or commercial) python
barcode recognition tools or libraries. *I need to read barcodes from
pdfs or images, so it will involve some OCR algorithm. *I also only
need to read the code 93 symbology, so it doesn't have to be very
fancy. *The most important thing to me is that it outputs in some
python friendly way, or ideally that it is written in python. *Any
tips would be great!
The closest thing I've heard of is the bar code stuff in reportlab.
This post talks a little about it:

http://mail.python.org/pipermail/pyt...ry/024893.html

And here's the official Reportlab site link: http://www.reportlab.org/downloads.html

Mike
Oct 24 '08 #2
On Oct 24, 1:24*pm, Mike Driscoll <kyoso...@gmail.comwrote:
On Oct 24, 12:05*pm, Robocop <btha...@physics.ucsd.eduwrote:
Does anyone know of any decent (open source or commercial) python
barcoderecognition tools or libraries. *I need to read barcodes from
pdfs or images, so it will involve some OCR algorithm. *I also only
need to read the code 93 symbology, so it doesn't have to be very
fancy. *The most important thing to me is that it outputs in some
python friendly way, or ideally that it is written in python. *Any
tips would be great!

The closest thing I've heard of is the bar code stuff in reportlab.
This post talks a little about it:

http://mail.python.org/pipermail/pyt...ry/024893.html

And here's the official Reportlab site link:http://www.reportlab.org/downloads.html

Mike
Thanks for the tip!!
Oct 27 '08 #3
On Oct 24, 1:24*pm, Mike Driscoll <kyoso...@gmail.comwrote:
On Oct 24, 12:05*pm,Robocop<btha...@physics.ucsd.eduwrote:
Does anyone know of any decent (open source or commercial) python
barcode recognition tools or libraries. *I need to read barcodes from
pdfs or images, so it will involve some OCR algorithm. *I also only
need to read the code 93 symbology, so it doesn't have to be very
fancy. *The most important thing to me is that it outputs in some
python friendly way, or ideally that it is written in python. *Any
tips would be great!

The closest thing I've heard of is the bar code stuff in reportlab.
This post talks a little about it:

http://mail.python.org/pipermail/pyt...ry/024893.html

And here's the official Reportlab site link:http://www.reportlab.org/downloads.html

Mike
I appreciate the effort, but that looks to be for generation of
barcodes if i'm not mistaken. What i'm looking for is a barcode
DECODER, not an ENCODER (i'm currently using the purepostscript
barcode script for generation, very slick stuff), so i'm looking for
something along the lines of some barcode specific OCR libraries.
Oct 27 '08 #4
On Fri, Oct 24, 2008 at 6:05 PM, Robocop <bt*****@physics.ucsd.eduwrote:
Does anyone know of any decent (open source or commercial) python
barcode recognition tools or libraries. I need to read barcodes from
pdfs or images, so it will involve some OCR algorithm. I also only
need to read the code 93 symbology, so it doesn't have to be very
fancy. The most important thing to me is that it outputs in some
python friendly way, or ideally that it is written in python. Any
tips would be great!
--
http://mail.python.org/mailman/listinfo/python-list

If you don't mind using a commercial Java lib, use
http://www.tasman.co.uk/bars/readme.html. I'ts not exactly cheap, but
it works very well, and support is good.

The only suggestion I can give you is: stay away from mixed
OCR/Barcode recognition software; usually they are much slower.

Regards

--
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/
Oct 28 '08 #5
Robocop wrote:
Any tips would be great!
The open source OCR software 'gocr' does also implement some 1D
barcode recognition. In my experience it does this better then
recognizing the text:
http://jocr.sourceforge.net/

I know about only one open source library for the DataMatrix 2D
code, but this certain library is excellent:
http://www.libdmtx.org/

Wolfgang Draxinger
--
E-Mail address works, Jabber: he******@jabber.org, ICQ: 134682867

Oct 28 '08 #6
At 2008-10-24T17:05:25Z, Robocop <bt*****@physics.ucsd.eduwrites:
Does anyone know of any decent (open source or commercial) python
barcode recognition tools or libraries. I need to read barcodes from
pdfs or images, so it will involve some OCR algorithm. I also only
need to read the code 93 symbology, so it doesn't have to be very
fancy. The most important thing to me is that it outputs in some
python friendly way, or ideally that it is written in python. Any
tips would be great!
How precise are these images? I mean, are they computer-generated, or
scanned in from other material?

If they're nice and crisp, I wrote a simple and pretty quick decoder at
http://pypi.python.org/pypi/Daycos/1.0 . Look in the
Daycos.Imageproc.Barcode module.
--
Kirk Strauser
The Day Companies
Oct 28 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dot | last post by:
Hi all, I have written a Python huffman Encoding Module, for my own amusement. I thought it might be educational/entertaining for other people, so I've put it on my website and wrote about it a...
9
by: Krishna Sagiraju | last post by:
Hai, I gotta decode a barcode from an image ( ppm, bmp, or jpg). I realize the first milestone would be to recognize a barcode with in the image: I took a small window (say 80X80 pixels) and if...
1
by: Krishna Sagiraju | last post by:
Hai, I gotta decode a barcode from an image ( ppm, bmp, or jpg). I realize the first milestone would be to recognize a barcode with in the image: I took a small window (say 80X80 pixels) and if...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 430 open ( -4) / 3447 closed (+17) / 3877 total (+13) Bugs : 922 open ( -7) / 6316 closed (+31) / 7238 total (+24) RFE : 245 open...
3
by: PaoloB | last post by:
Hi everyone, I am searching for a python library for barcode recognition. We have developed a rather complex application for document tracking and document management in python/Zope, called...
0
by: Independent | last post by:
Python programmers may find the application to decoding an encrypted map image format known as Memory Map to produce a standard PNG image file interesting. Someone obviously very well versed in...
0
by: james.duckworthy | last post by:
Python programmers may find the application to decoding an encrypted map image format known as Memory Map to produce a standard PNG image file interesting. Someone obviously very well versed in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.