简体   繁体   English

在Django中生成条形码

[英]Generate Barcode In Django

I am working on asset management app using Django, Now I want to create barcodes for each asset. 我正在使用Django开发资产管理应用程序,现在我想为每个资产创建条形码。 On the scanning of the barcode, I need to get all the information about the asset, which is the best library to achieve this? 在扫描条形码时,我需要获取有关资产的所有信息,哪个是实现此目的的最佳库?

Use pybarcode and generate the barcode as SVG: http://packages.python.org/pyBarcode/barcode.html#creating-barcodes-as-svg 使用pybarcode并将条形码生成为SVG: http ://packages.python.org/pyBarcode/barcode.html#creating-barcodes-as-svg

No problem of image quality in that case. 在这种情况下,图像质量没有问题。 To read: https://github.com/dynamsoft-dbr/django-barcode-reader/blob/master/README.md 阅读: https : //github.com/dynamsoft-dbr/django-barcode-reader/blob/master/README.md

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM