{"id":19579510,"url":"https://github.com/kde/prison","last_synced_at":"2025-04-27T07:34:11.655Z","repository":{"id":37925538,"uuid":"42736977","full_name":"KDE/prison","owner":"KDE","description":"prison is a barcode api currently offering a nice Qt api to produce QRCode barcodes and DataMatrix barcodes, and can easily be made support more.","archived":false,"fork":false,"pushed_at":"2024-04-12T15:17:56.000Z","size":603,"stargazers_count":23,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-01T12:02:11.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://invent.kde.org/frameworks/prison","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KDE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/BSD-3-Clause.txt","code_of_conduct":null,"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":"2015-09-18T17:29:55.000Z","updated_at":"2024-05-03T11:11:42.021Z","dependencies_parsed_at":"2024-05-03T11:11:37.089Z","dependency_job_id":"4ba60a7a-782c-46ca-8cc2-66e6e4e7b404","html_url":"https://github.com/KDE/prison","commit_stats":null,"previous_names":[],"tags_count":188,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDE%2Fprison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDE%2Fprison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDE%2Fprison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KDE%2Fprison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KDE","download_url":"https://codeload.github.com/KDE/prison/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251104133,"owners_count":21536889,"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":[],"created_at":"2024-11-11T07:17:24.708Z","updated_at":"2025-04-27T07:34:11.235Z","avatar_url":"https://github.com/KDE.png","language":"C++","readme":"# Prison\n\nA barcode abstraction layer providing uniform access to generation of barcodes with data.\n\n## Introduction\n\nPrison has a Prison::AbstractBarcode, which is the base class for the actual\nbarcode generators. Prison currently implements barcode generators for the following formats:\n\n- QRCode\n- Data Matrix\n- Aztec\n- Code39\n- Code93\n- [Code128](https://en.wikipedia.org/wiki/Code_128)\n- [PDF417](https://en.wikipedia.org/wiki/PDF417) (ISO/IEC 15438)\n- [EAN13](https://en.wikipedia.org/wiki/International_Article_Number)\n\nPrison currently ships the org.kde.prison.Barcode QML element that can be used to render barcodes in QML code.\n\n## Supported Barcode types\n\nThere are basically two types of barcodes:\n* barcodes that carry the data\n* barcodes that carry a lookup number, and require a specific server to\n  look up the actual data.\n\nPrison isn't as such designed for the latter, it will probably work, but\npatches implementing barcode support for such barcodes will not be accepted.\nAn example is [EZCode](https://en.wikipedia.org/wiki/EZcode).\n\nPrison is currently using [libdmtx](https://github.com/dmtx/libdmtx) for generation of\n[DataMatrix](https://en.wikipedia.org/wiki/Datamatrix) barcodes,\n[libqrencode](https://fukuchi.org/works/qrencode/) for generation\nof [QRCode](https://en.wikipedia.org/wiki/QR_Code) barcodes and\n[ZXing](https://github.com/nu-book/zxing-cpp) for generating\n[EAN13 and PDF417](https://en.wikipedia.org/wiki/PDF417) barcodes.\n\n# Prison Scanner\n\nA barcode scanner consuming a live video feed from QtMultimedia.\n\n## Introduction\n\nPrison's barcode scanner can be used from C++ code using the Prison::VideoScanner\nclass, or from QML using the org.kde.prison.scanner.VideoScanner QML element.\n\nThere are standalone QML examples in tests/scanner-qt(5|6).qml demonstrating\nthe QML API.\n\n## Supported barcode formats\n\nBarcode detection is implemented using the [ZXing](https://github.com/nu-book/zxing-cpp)\nlibrary, all formats supported by ZXing can be detected.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkde%2Fprison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkde%2Fprison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkde%2Fprison/lists"}