{"id":15293987,"url":"https://github.com/xulihang/vision-camera-zxing","last_synced_at":"2025-05-07T05:10:50.882Z","repository":{"id":257026414,"uuid":"857183434","full_name":"xulihang/vision-camera-zxing","owner":"xulihang","description":"React Native Vision Camera Frame Processor Plugin using ZXing","archived":false,"fork":false,"pushed_at":"2025-03-31T08:51:14.000Z","size":1528,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T11:03:01.380Z","etag":null,"topics":["barcode","barcode-scanner","ean","qrcode","qrcode-scanner","react-native","scanner","upc","vision-camera","zxing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xulihang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T01:50:51.000Z","updated_at":"2025-04-11T08:04:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"713a7292-0e42-47e7-836c-3bcba6edff72","html_url":"https://github.com/xulihang/vision-camera-zxing","commit_stats":null,"previous_names":["xulihang/vision-camera-zxing"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulihang%2Fvision-camera-zxing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulihang%2Fvision-camera-zxing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulihang%2Fvision-camera-zxing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xulihang%2Fvision-camera-zxing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xulihang","download_url":"https://codeload.github.com/xulihang/vision-camera-zxing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252817635,"owners_count":21808706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["barcode","barcode-scanner","ean","qrcode","qrcode-scanner","react-native","scanner","upc","vision-camera","zxing"],"created_at":"2024-09-30T16:54:32.022Z","updated_at":"2025-05-07T05:10:50.810Z","avatar_url":"https://github.com/xulihang.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vision-camera-zxing\n\nA barcode reading frame processor plugin for Vision Camera using ZXing.\n\nIt uses [ZXing Android Embedded](https://github.com/journeyapps/zxing-android-embedded) for Android and [ZXingObjC](https://github.com/zxingify/zxingify-objc) for iOS.\n\n## Installation\n\n```sh\nnpm install vision-camera-zxing\ncd ios \u0026\u0026 pod install\n```\n\nAdd the plugin to your `babel.config.js`:\n\n```js\nmodule.exports = {\n   plugins: [['react-native-worklets-core/plugin']],\n    // ...\n```\n\n\u003e Note: You have to restart metro-bundler for changes in the `babel.config.js` file to take effect.\n\n## Usage\n\n1. Scan barcodes with vision camera.\n   \n   ```js\n   import { zxing } from 'vision-camera-zxing';\n \n   // ...\n   const frameProcessor = useFrameProcessor((frame) =\u003e {\n     'worklet';\n     const barcodes = zxing(frame,{multiple:true});\n   }, []);\n   ```\n   \n2. Scan barcodes from a base64-encoded static image.\n\n   ```ts\n   let results = await decodeBase64(base64,{multiple:true});\n   ```\n\n## Limitation\n\nZXing has a requirement of the direction of the barcode to scan and cannot return the exact barcode region.\n\nYou can use [Dynamsoft Barcode Reader](https://github.com/tony-xlh/vision-camera-dynamsoft-barcode-reader) instead to meet your needs.\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxulihang%2Fvision-camera-zxing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxulihang%2Fvision-camera-zxing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxulihang%2Fvision-camera-zxing/lists"}