Closed. This question needs to be more focused。它当前不接受答案。
                            
                        
                    
                
                            
                                
                
                        
                            
                        
                    
                        
                            想改善这个问题吗?更新问题,使其仅通过editing this post专注于一个问题。
                        
                        5年前关闭。
                                                                                            
                
        
有人知道如何将ZBar移植到NaCl吗?我正在做一个pnacl项目,需要从图像中读取QR码。
我正在使用linux。
谢谢你的帮助!

最佳答案

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


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

关于linux - 如何将ZBar移植到NaCl ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/27410145/

10-15 02:58