【问题标题】:How to port ZBar to NaCl [closed]如何将 ZBar 移植到 NaCl [关闭]
【发布时间】:2014-12-10 20:23:51
【问题描述】:

有人知道如何将 ZBar 移植到 NaCl 吗?我正在制作一个 pnacl 项目,需要从图像中读取二维码。 我在linux上工作。 谢谢你的帮助!

【问题讨论】:

    标签: linux google-nativeclient zbar


    【解决方案1】:

    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/
    ...
    

    听起来移植扫描仪/解码器部分应该不会太难。如果您有兴趣帮助移植,最好继续讨论我上面链接的错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-08
      相关资源
      最近更新 更多