![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@arlenwang/react-native-local-barcode-recognizer
Advanced tools
#install:
npm install git+https://github.com/du6688/react-native-local-barcode-recognizer.git
#and link:
react-native link react-native-local-barcode-recognizer
import LocalBarcodeRecognizer from 'react-native-local-barcode-recognizer';
const imageBase64 = "data:image/jpeg;base64,/9j/4AA.......";
let result = await LocalBarcodeRecognizer.decode(imageBase64.replace("data:image/jpeg;base64,",""), {
codeTypes: ['ean13', 'qr']
});
console.log(result);
修改源码文件,修复二维码识别率过低的问题,添加了ts类型
优化方法参照 文章
方法 | 参数 |
---|---|
decode | (base64编码,options)=> Promise<string> |
名称 | 描述 |
---|---|
codeTypes | [aztec,ean13, ean8, qr, pdf417, upc_e, datamatrix, code39, code93, interleaved2of5, codabar, code128, maxicode, rss14, rssexpanded, upc_a, upc_ean] |
FAQs
React Native 从本地图像识别条形码的插件
The npm package @arlenwang/react-native-local-barcode-recognizer receives a total of 182 weekly downloads. As such, @arlenwang/react-native-local-barcode-recognizer popularity was classified as not popular.
We found that @arlenwang/react-native-local-barcode-recognizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.