{"id":18696360,"url":"https://github.com/dynamsoft/barcode-reader-c-cpp-samples","last_synced_at":"2026-02-09T03:12:51.268Z","repository":{"id":37705202,"uuid":"420931895","full_name":"Dynamsoft/barcode-reader-c-cpp-samples","owner":"Dynamsoft","description":"Samples for Dynamsoft Barcode Reader SDK C_C++ Edition","archived":false,"fork":false,"pushed_at":"2025-12-16T09:14:31.000Z","size":542976,"stargazers_count":6,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-19T22:25:46.595Z","etag":null,"topics":["barcode","barcode-reader","c","code128","code39","cpp","datamatrix","ean13","ean8","gs1","linear-barcodes","pdf417","qr","qrcode","upc-a","upc-e"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dynamsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-25T08:04:36.000Z","updated_at":"2025-12-16T09:14:38.000Z","dependencies_parsed_at":"2022-09-06T11:51:23.616Z","dependency_job_id":"d55c5719-813d-4dd7-9dff-8856ace87fa9","html_url":"https://github.com/Dynamsoft/barcode-reader-c-cpp-samples","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/Dynamsoft/barcode-reader-c-cpp-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dynamsoft%2Fbarcode-reader-c-cpp-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dynamsoft%2Fbarcode-reader-c-cpp-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dynamsoft%2Fbarcode-reader-c-cpp-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dynamsoft%2Fbarcode-reader-c-cpp-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dynamsoft","download_url":"https://codeload.github.com/Dynamsoft/barcode-reader-c-cpp-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dynamsoft%2Fbarcode-reader-c-cpp-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["barcode","barcode-reader","c","code128","code39","cpp","datamatrix","ean13","ean8","gs1","linear-barcodes","pdf417","qr","qrcode","upc-a","upc-e"],"created_at":"2024-11-07T11:18:17.396Z","updated_at":"2026-02-09T03:12:51.263Z","avatar_url":"https://github.com/Dynamsoft.png","language":"C++","readme":"# Dynamsoft Barcode Reader Samples - C++ Edition\n\nThis repository contains multiple samples that demonstrates how to use the \u003ca href=\"https://www.dynamsoft.com/barcode-reader/overview/?product=dbr\u0026utm_source=samples\u0026package=c_cpp\" target=\"_blank\"\u003eDynamsoft Barcode Reader\u003c/a\u003e C++ Edition.\n\n## Requirements\n- Operating systems:\n  - Windows: Windows 8 and higher, or Windows Server 2012 and higher.\n  - Linux x64: Ubuntu 14.04.4+ LTS, Debian 8+, CentOS 7+, etc\n  - Linux ARM 64-bit\n- Developing Tool\n  - Visual Studio 2012 or above\n  - G++ 5.4+  \n  - GCC 5.4+\n\n## Samples\n\n### Basic Barcode Reader Samples\n\n| Sample | Description |\n|---|---|\n| [`ReadAnImage`](Samples/HelloWorld/ReadAnImage) | This sample demonstrates the simplest way to read barcodes from an image file and output barcode format and text. |\n| [`ReadMultipleImages`](Samples/HelloWorld/ReadMultipleImages) | This sample demonstrates the simplest way to read barcodes from directory with image files and output barcode format and text. |\n| [`VideoDecoding`](Samples/VideoDecoding) | This sample demonstrates how to read barcodes from video frames. |\n| [`MultiThreadDecoding`](Samples/MultiThreadDecoding) | This sample demonstrates how to read barcodes and get barcode results in self-managed thread. |\n| [`BarcodePerformanceEvaluator`](Samples/BarcodePerformanceEvaluator) | This sample demonstrates how to read barcodes from files in the specified directory and return results plus performance metrics. |\n| [`GeneralSettings`](Samples/GeneralSettings) | This sample demonstrates how to configure general used settings and read barcodes from an image file. |\n| [`ReadDPMBarcode`](Samples/ReadDPMBarcode) | This sample demonstrates how to read DPM (Direct Part Marking) barcodes and get barcode results. |\n| [`ParameterTuner`](Samples/ParameterTuner) | This sample demonstrates how to adjust and test different parameter settings to optimize barcode recognition performance. |\n| [`ShowLocalizedVSDecodedBarcodes`](Samples/ShowLocalizedVSDecodedBarcodes) | This sample demonstrates how to highlight successfully decoded and only-localized barcodes with different styles of rectangles. |\n\n### Additional Samples using Capture Vision SDK\n\nIn addition to the classic barcode decoding samples listed above, the following samples go a step further by parsing the decoded results and showcasing more structured workflows.\n\n\u003e [!IMPORTANT]\n\u003e These samples use the `dynamsoft-capture-vision` package instead of `dynamsoft-barcode-reader`. If you're switching to these samples, make sure to [download](https://www.dynamsoft.com/capture-vision/confirmation/#desktop) and use the correct package.\n\n| Sample | Description |\n| --- | --- |\n| [`DriverLicenseScanner`](https://github.com/Dynamsoft/capture-vision-cpp-samples/blob/main/Samples/DriverLicenseScanner) | Shows how to capture and extract user's information from driver license/ID. |\n| [`VINScanner`](https://github.com/Dynamsoft/capture-vision-cpp-samples/blob/main/Samples/VINScanner) | Shows how to capture and extract vehicle's information from Vehicle Identification Number (VIN). |\n| [`GS1AIScanner`](https://github.com/Dynamsoft/capture-vision-cpp-samples/blob/main/Samples/GS1AIScanner) | Shows how to extract and interpret GS1 Application Identifiers (AIs) from GS1 barcodes. |\n\n## License\n\nThe library requires a license to work, you use the API InitLicense to initialize license key and activate the SDK.\n\nThese samples use a free public trial license which require network connection to function. You can request a 30-day free trial license key from \u003ca href=\"https://www.dynamsoft.com/customer/license/trialLicense?product=dbr\u0026utm_source=samples\u0026package=c_cpp\" target=\"_blank\"\u003eCustomer Portal\u003c/a\u003e which works offline.\n\n## Contact Us\n\n\u003ca href=\"https://www.dynamsoft.com/company/contact/\"\u003eContact Dynamsoft\u003c/a\u003e if you have any questions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamsoft%2Fbarcode-reader-c-cpp-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamsoft%2Fbarcode-reader-c-cpp-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamsoft%2Fbarcode-reader-c-cpp-samples/lists"}