【发布时间】:2017-08-29 08:21:54
【问题描述】:
通过使用开源库,pylibdmtx 能够检测图像中的数据矩阵条形码。当条形码只是大图像中的一小部分时,处理速度会变慢。缩小和检测条形码需要很少的参数
这是库中编码的一部分
with libdmtx_decoder(img, shrink) as decoder:
properties = [
(DmtxProperty.DmtxPropScanGap, gap_size),
(DmtxProperty.DmtxPropSymbolSize, shape),
(DmtxProperty.DmtxPropSquareDevn, deviation),
(DmtxProperty.DmtxPropEdgeThresh, threshold),
(DmtxProperty.DmtxPropEdgeMin, min_edge),
(DmtxProperty.DmtxPropEdgeMax, max_edge)
]
我的问题是,除了 pylibdmtx 之外还有其他库可以使用吗?或任何提高处理速度而不影响准确性的建议。顺便说一下 pylibdmtx 于 18/1/2017 更新,它是一个维护的库
【问题讨论】:
-
请求图书馆推荐是题外话
-
@Julien 任何增加处理的建议
-
我们可以看看样品吗?
标签: python image-processing barcode datamatrix