Skip to content

Commit 7e4e2ad

Browse files
committed
Add template config tool
1 parent 71a2924 commit 7e4e2ad

4 files changed

Lines changed: 1957 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Dynamsoft Barcode SDK Parameter Adjustment Tool
2+
3+
A GUI application built with PySide6 to help developers find optimal parameters for barcode scanning using the Dynamsoft Barcode Reader SDK. This tool provides an intuitive interface for parameter tuning, real-time barcode detection, and automated parameter optimization.
4+
5+
## 🎯 Purpose
6+
7+
When working with barcode detection in various conditions (poor lighting, low quality images, different barcode types), finding the right parameters can be challenging and time-consuming. This tool simplifies the process by providing:
8+
9+
- **Visual Parameter Tuning**: Interactive controls for all barcode detection parameters
10+
- **Real-time Testing**: Immediate feedback on parameter changes with live barcode detection
11+
- **Auto-adjustment**: Intelligent parameter optimization that automatically tests different combinations
12+
- **Multiple Barcode Format Support**: Comprehensive support for 40+ barcode formats
13+
- **Template Management**: Save and load parameter configurations
14+
15+
## 🛠️ Installation
16+
17+
1. **Clone the Repository**
18+
```bash
19+
git clone https://github.com/yushulx/python-barcode-qrcode-sdk.git
20+
cd python-barcode-qrcode-sdk/examples/official/template_config
21+
```
22+
23+
2. **Install Dependencies**
24+
```bash
25+
pip install -r requirements.txt
26+
```
27+
28+
3. **Set Up Dynamsoft License**
29+
- Obtain a license from [Dynamsoft](https://www.dynamsoft.com/customer/license/trialLicense)
30+
- Set the license in parameter_adjustment_tool.py:
31+
32+
```python
33+
error_code, error_message = LicenseManager.init_license(
34+
"LICENSE-KEY"
35+
)
36+
```
37+
38+
39+
## 🚀 Quick Start
40+
41+
1. **Launch the Application**
42+
```bash
43+
python parameter_adjustment_tool.py
44+
```
45+
46+
2. **Load an Image**
47+
- Drag and drop an image file onto the left panel, or
48+
- Use the Load Image button to browse for an image
49+
50+
3. **Adjust Parameters**
51+
- Use the parameter controls in the middle panel
52+
- Watch real-time results in the left panel
53+
- Monitor JSON output in the right panel
54+
55+
4. **Try Auto-Adjustment**
56+
- Click the "Auto Adjust" button
57+
- The tool will automatically test different parameter combinations
58+
- Stops when barcodes are successfully detected

0 commit comments

Comments
 (0)