Skip to content

Commit 3285a9c

Browse files
committed
Update
1 parent 95c69dd commit 3285a9c

394 files changed

Lines changed: 8 additions & 177257 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 8 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Building 1D/2D Barcode Reader with C++ and CMake
2-
This repository contains examples demonstrating how to utilize the **Dynamsoft Barcode Reader SDK** to build barcode and QR code detection applications with C++ and CMake on **Windows**, **Linux**, **macOS**, and **Raspberry Pi**.
2+
This repository contains examples demonstrating how to utilize the **Dynamsoft Barcode Reader SDK** to build barcode and QR code detection applications with C++ and CMake on **Windows**, **Linux**, **macOS**, and **Raspberry Pi OS**.
33

44
## Prerequisites
5-
- Obtain a [30-day free trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform) for Dynamsoft Barcode Reader. Update the following code in `main.cxx`:
5+
- Obtain a [30-day free trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform) for Dynamsoft Barcode Reader.
66

77
```cpp
8-
DBR_InitLicense(license, errorMsgBuffer, 512);
8+
CLicenseManager::InitLicense("LICENSE-KEY", szErrorMsg, 256);
99
```
1010

1111
- OpenCV Installation
@@ -22,7 +22,7 @@ This repository contains examples demonstrating how to utilize the **Dynamsoft B
2222
2323
## Supported Platforms
2424
- Windows x64
25-
- Linux x64/ARM64/ARM32
25+
- Linux x64/ARM64
2626
- macOS x64 (Intel/Apple Silicon)
2727
2828
## How to Build a CMake Project
@@ -98,53 +98,20 @@ This repository contains examples demonstrating how to utilize the **Dynamsoft B
9898
```
9999
100100
## Examples
101-
- [Command Line](./examples/9.x/command_line)
102-
103-
```bash
104-
./main [image-file] [optional: license-file] [optional: template-file]
105-
```
101+
- [Command Line](./examples/command_line)
106102
107103
![Raspberry Pi Barcode Reader](https://www.dynamsoft.com/codepool/img/2016/03/rpi_dbr_result.png)
108104
109-
- [Barcode Image File](./examples/9.x/opencv_file)
110-
111-
```bash
112-
./main
113-
```
105+
- [Barcode Image File](./examples/opencv_file)
114106
115107
![Read barcodes from an image file](https://www.dynamsoft.com/codepool/img/2024/05/cpp-barcode-reader-opencv.jpg)
116108
117109
118-
- [Camera Scanning](./examples/9.x/opencv_camera)
119-
120-
```bash
121-
./main
122-
```
110+
- [Camera Scanning](./examples/opencv_camera)
123111
124112
![Camera barcode QR detection](https://www.dynamsoft.com/codepool/img/2024/05/cpp-barcode-scanner-opencv.jpg)
125113
126-
- [Raspberry Pi with OLED Display](./examples/9.x/raspberry_pi_oled)
127-
128-
```bash
129-
./main
130-
```
131-
132-
![Raspberry Pi barcode QR detection](https://www.dynamsoft.com/codepool/img/2020/06/raspberry-pi-barcode-qr.png)
133-
134-
- [Rust](./examples/9.x/rust/)
135-
136-
![Rust Barcode Reader](https://www.dynamsoft.com/codepool/img/2024/06/rust-command-line-barcode-reader.jpg)
137-
138-
- [WebP](./examples/9.x/webp/)
114+
- [WebP](./examples/webp/)
139115
140116
![Read barcodes from WebP image](https://www.dynamsoft.com/codepool/img/2024/06/cpp-decode-webp-barcode-qr-code.jpg)
141117
142-
- [Qt](./examples/9.x/qt/)
143-
144-
![Qt GUI barcode reader](https://www.dynamsoft.com/codepool/img/2021/08/barcode-scanner-webcam-qcamera.png)
145-
146-
## Blog
147-
- [CMake: Build C++ Project for Windows, Linux and macOS](https://www.dynamsoft.com/codepool/cmake-cc-windows-linux-macos.html)
148-
- [My First C/C++ App Built with CMake on Windows](https://www.dynamsoft.com/codepool/cc-barcode-app-cmake-windows.html)
149-
- [How to Port Visual Studio C++ Project to Linux with CMake](https://www.dynamsoft.com/codepool/port-visual-studio-cpp-linux-cmake.html)
150-
- [Transforming Raspberry Pi 4 into a Barcode Scanner with a C++ App, USB Camera, and OLED Display](https://www.dynamsoft.com/codepool/raspberry-pi-cpp-barcode-reader.html)

examples/9.x/command_line/CMakeLists.txt

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)