使用javascript从图像中读取条形码 [英] reading barcode from an image using javascript

查看:158
本文介绍了使用javascript从图像中读取条形码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个可以从图像中读取/提取条形码的JavaScript代码。例如,
,图像可能嵌入到网页中,我想将图像传递给Javascript函数。

I need a javascript code that will read/ extract barcode from an image. for example, the image may be embedded in a web page and i wan to pass the image to the Javascript function.

该函数应该读取/解析。图像和从图像提取条形码

The function should read/parse the image and extract the barcode from the image.

推荐答案

检查这个的JavaScript的条码扫描器
这是开源和免费

Check this JavaScript barcode scanner It's open source and free

您也可以查看此JavaScript库 https://github.com/EddieLa/BarcodeReader

Also you can check this JavaScript library https://github.com/EddieLa/BarcodeReader

这篇关于使用javascript从图像中读取条形码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆