{"id":21232792,"url":"https://github.com/hotstu/qrcodecamerax","last_synced_at":"2025-10-09T02:46:41.310Z","repository":{"id":54367015,"uuid":"191121043","full_name":"hotstu/QRCodeCameraX","owner":"hotstu","description":"QRcode decoder based on CameraX \u0026 zxing-core \u0026 ML kit, in less than 50 lines","archived":false,"fork":false,"pushed_at":"2021-09-02T04:30:22.000Z","size":199,"stargazers_count":125,"open_issues_count":3,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-10T21:56:13.958Z","etag":null,"topics":["camera2-api","camerax","camerax-api","qrcode","qrcode-decoder","zxing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hotstu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-10T07:42:51.000Z","updated_at":"2025-03-19T02:55:22.000Z","dependencies_parsed_at":"2022-08-13T13:31:16.294Z","dependency_job_id":null,"html_url":"https://github.com/hotstu/QRCodeCameraX","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hotstu/QRCodeCameraX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotstu%2FQRCodeCameraX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotstu%2FQRCodeCameraX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotstu%2FQRCodeCameraX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotstu%2FQRCodeCameraX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hotstu","download_url":"https://codeload.github.com/hotstu/QRCodeCameraX/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotstu%2FQRCodeCameraX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000769,"owners_count":26082906,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["camera2-api","camerax","camerax-api","qrcode","qrcode-decoder","zxing"],"created_at":"2024-11-20T23:54:43.706Z","updated_at":"2025-10-09T02:46:41.295Z","avatar_url":"https://github.com/hotstu.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![author](https://img.shields.io/badge/author-hglf-blue.svg)](https://github.com/hotstu) \n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n![androidx](https://img.shields.io/badge/target-androidx-blue.svg)\n[![Awesome Kotlin Badge](https://kotlin.link/awesome-kotlin.svg)](https://github.com/hotstu/QRCodeCameraX)\n\n# QRCodeCameraX\nQRcode decoder based on CameraX \u0026amp; zxing-core \u0026amp; ML kit, in less than 50 lines\n\n\n基于CameraX api，代码极度精简，没有垃圾代码，直接操作yuvimage buffer，识别速度快\n\n内置两种识别方式可以随意切换\n\nQRcodeAnalyzer: 基于zxing-core的二维码识别\n\nMLQRcodeAnalyzer: 基于firebase 机器视觉的二维码识别，(需要设备安装google paly Service，否则无法使用)\n\narticle：https://www.jianshu.com/p/3ce81b55468d\n\n后记：目前camerax还没有发布稳定版，很多api都在变化中,所以如果升级了依赖版本可能会报很多错，等google发布正式版本吧\n\n#### 2020.4.2日更新：\n\nCameraX1.0.0-beta02已经发布，不出所料大量的breaking changes，目前网上的资料包括官方的教程还是旧的，这里放出最新的适配：\n\nbeta02的版本：[QRCodeCameraX/beta02](https://github.com/hotstu/QRCodeCameraX/tree/beta02)\n\n#### 2021.6.18日更新：\nCameraX1.0.0已经发布，API 基本稳定\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotstu%2Fqrcodecamerax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotstu%2Fqrcodecamerax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotstu%2Fqrcodecamerax/lists"}