我要写一个二维码生成器。我应该自己编写 Reed-Solomon 纠错方法,还是有 PHP 或 Python 中的免费库?
是的.. PHP中有一个二维码库。 检查下面的链接: http://phpqrcode.sourceforge.net/
这是一个 Python 和 Google Chart 解决方案。
这在谷歌上排名很高,所以为什么不向你指出这个:
https://github.com/dineshrabara/barcode
或
http://framework.zend.com/manual/1.12/en/zend.barcode.creation.html
我创建了一个 Python 包 galois,它将 NumPy 数组扩展到 Galois 域。 Galois 域算术是用 Python 编写的,但使用 Numba 进行 JIT 编译。因此,算术与本机 NumPy 一样快或几乎一样快。
库中包含 Reed-Solomon 代码。