【发布时间】:2014-12-10 20:23:51
【问题描述】:
有人知道如何将 ZBar 移植到 NaCl 吗?我正在制作一个 pnacl 项目,需要从图像中读取二维码。 我在linux上工作。 谢谢你的帮助!
【问题讨论】:
标签: linux google-nativeclient zbar
有人知道如何将 ZBar 移植到 NaCl 吗?我正在制作一个 pnacl 项目,需要从图像中读取二维码。 我在linux上工作。 谢谢你的帮助!
【问题讨论】:
标签: linux google-nativeclient zbar
naclports 项目有许多库到 Native Client 的端口,以及一些通用的基础设施。还没有 zbar 的端口,但我已经为它提交了一个错误here。
来自 zbar 自述文件:
...
The scanner/decoder library itself only requires a few standard
library functions which should be avilable almost anywhere.
The zbarcam program uses the video4linux API (v4l1 or v4l2) to access
the video device. This interface is part of the linux kernel, a 2.6
kernel is recommended for full support. More information is available
at
http://www.linuxtv.org/wiki/
...
听起来移植扫描仪/解码器部分应该不会太难。如果您有兴趣帮助移植,最好继续讨论我上面链接的错误。
【讨论】: