<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Barcodes on Blog | Jonas Neubert</title><link>https://blog.jonasneubert.com/tags/barcodes/</link><description>Recent content in Barcodes on Blog | Jonas Neubert</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 25 Jan 2026 07:53:29 +0000</lastBuildDate><atom:link href="https://blog.jonasneubert.com/tags/barcodes/index.xml" rel="self" type="application/rss+xml"/><item><title>The Best Python Packages for Reading Barcodes</title><link>https://blog.jonasneubert.com/2022/09/30/the-best-python-packages-for-reading-barcodes/</link><pubDate>Fri, 30 Sep 2022 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2022/09/30/the-best-python-packages-for-reading-barcodes/</guid><description>&lt;p>Three years ago I published a blog post on &lt;a href="https://blog.jonasneubert.com/2019/01/23/barcode-generation-python/">how to &lt;em>generate&lt;/em> barcodes using Python&lt;/a>. It&amp;rsquo;s one of the most visited posts on the blog! Occasionally a reader emails to ask: &amp;ldquo;But what if I want to &lt;em>read&lt;/em>/&lt;em>decode&lt;/em>/&lt;em>scan&lt;/em>&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> a barcode, not write it?&amp;rdquo;&lt;/p>
&lt;p>Here is the answer:&lt;/p>
&lt;h2 id="dont-use-python-for-barcode-decoding">Don&amp;rsquo;t use Python for Barcode Decoding!&lt;/h2>
&lt;p>You really shouldn&amp;rsquo;t be using pure Python to decode barcodes from images or videos or, worse, from camera streams.&lt;/p></description></item><item><title>The Best Python Packages for Generating Barcodes</title><link>https://blog.jonasneubert.com/2019/01/23/barcode-generation-python/</link><pubDate>Wed, 23 Jan 2019 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2019/01/23/barcode-generation-python/</guid><description>&lt;p>Barcodes are a cheap and ubiquitous way to add machine-readable information to an object. I think of barcodes as the real-world equivalent of browser cookies: For example, when you arrive at airport departures, the airline hands you a boarding pass with a barcode (the cookie). From that point onward you&amp;rsquo;re asked to show your barcode at every interaction: at security, the duty-free shop, and the boarding gate. And just like the information stored in browser cookies, the information in barcodes isn&amp;rsquo;t in plain sight but easily made visible.&lt;/p></description></item><item><title>One simple trick for USB-to-Serial on MacOS X</title><link>https://blog.jonasneubert.com/2017/03/07/one-simple-trick-usb-to-serial-macos-x/</link><pubDate>Tue, 07 Mar 2017 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2017/03/07/one-simple-trick-usb-to-serial-macos-x/</guid><description>&lt;p>Call me a Luddite if you wish, but I lament the lack of serial ports in modern laptops.&lt;/p>
&lt;p>My relationship with USB-to-Serial cables has been one of disappointments, crashed computers, and garbled data. The one I pulled out of a drawer this week randomly flipped the most significant bit of every character. How do I know this? Because I wasted three long nights debugging the problem.&lt;/p>
&lt;p>But I&amp;rsquo;m a changed person now because I learned this one amazing trick for making USB-to-Serial &lt;em>just work&lt;/em> on macOS:&lt;/p></description></item><item><title>MS3 Adapter for Serial Port and Power</title><link>https://blog.jonasneubert.com/2017/03/06/ms3-serial-adapter/</link><pubDate>Mon, 06 Mar 2017 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2017/03/06/ms3-serial-adapter/</guid><description>&lt;p>In last week&amp;rsquo;s post
&lt;a href="https://blog.jonasneubert.com/2017/02/26/intro-to-barcode-readers/">about barcode readers&lt;/a>
I mentioned that I purchased an &lt;a href="http://www.microscan.com/en-us/products/laser-barcode-scanners/ms-3-compact-laser-barcode-scanner">MS3 from Microscan&lt;/a> for my PyCon demo.
What I had forgotten from last time I worked with the MS3 is that the pin-out of cable attached to the barcode reader is not just a DB9 (nine pin) serial port connector but a DB15 (VGA style) plug.
Those extra pins are used for sending power to the device and to accommodate a few extra features, namely trigger and reset inputs.&lt;/p></description></item><item><title>Intro to Barcode Readers</title><link>https://blog.jonasneubert.com/2017/02/26/intro-to-barcode-readers/</link><pubDate>Sun, 26 Feb 2017 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2017/02/26/intro-to-barcode-readers/</guid><description>&lt;p>If you read &lt;a href="https://blog.jonasneubert.com/2017/02/12/tap-tap-tap/">last week&amp;rsquo;s blog post&lt;/a> you already know that I&amp;rsquo;ve got three months to put together a physical demo for a &lt;a href="https://us.pycon.org/2017/schedule/presentation/747/">PyCon talk about factory automation&lt;/a>. This post is the first in a series of progress updates.&lt;/p>
&lt;p>In robotics and automation, the smallest realistic demo has three parts: Sensing, control, and actuation. I spent Week 1 selecting and bargain hunting for an industrial barcode reader to cover the &lt;em>sensing&lt;/em> part of the demo. As I went along I wrote up my notes as an &amp;ldquo;Introduction to Barcode Readers&amp;rdquo;; if you only want to know what I ended up buying, scroll down to the end!&lt;/p></description></item></channel></rss>