Python tool to decode a 2d datamatrix barcode using python
<p>I have a project which requires me to decode a 2D data matrix barcode from an image using python.  </p>

<p>Example (which I believe is a 2d Data Matrix, but hey I could be wrong):</p>

<p><a href="https://imgur.com/a/Xbr1I" rel="nofollow">https://imgur.com/a/Xbr1I</a></p>

<p>I'm having trouble finding tools to do this?  As I understand it, Zbar and opencv don't have data matrix support?</p>

<p>Is there anything out there than can help?</p>

<p>Thanks for your time  </p>

<p>I think you can use ZXing to decode datamatrix.<br>
Please ref to site: <a href="https://github.com/oostendo/python-zxing" rel="nofollow">https://github.com/oostendo/python-zxing</a> to get more detail. it can support datamatrix as well in my test.</p>

<p>since ZBar is not support DataMatrix in python yet. ZXing is a good choise.</p>

python opencv barcode-scanner zbar