Skip to content

Commit 98fb452

Browse files
committed
Add comparison tool
1 parent 3454813 commit 98fb452

File tree

3 files changed

+1581
-0
lines changed

3 files changed

+1581
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Dynamsoft SDK Version Comparison Tool
2+
3+
This comparison tool allows you to compare 1D/2D barcode detection performance between different versions of the Dynamsoft Capture Vision SDK. The tool provides a comprehensive graphical interface with side-by-side visual comparisons, detailed results analysis, and performance metrics.
4+
5+
## Features
6+
7+
### 🔍 **Dynamic SDK Configuration**
8+
- Configure and compare multiple SDK versions
9+
- Automatic SDK version detection from virtual environments
10+
- Support for custom Python environments
11+
12+
### 📁 **Advanced File Processing**
13+
- **Drag & Drop Support**: Drop individual images or entire folders
14+
- **Batch Processing**: Process multiple images automatically
15+
- **Format Support**: PNG, JPG, JPEG, BMP, TIFF
16+
- **File Filtering**: Automatic validation of image file existence
17+
- **Progress Tracking**: Real-time processing progress indicators
18+
19+
### 🖼️ **Visual Comparison Interface**
20+
- **Side-by-Side Views**: Compare detection results visually
21+
22+
## Installation
23+
24+
### Prerequisites
25+
Install the required dependencies using the provided requirements file:
26+
27+
```bash
28+
pip install -r requirements.txt
29+
```
30+
31+
### Virtual Environment Setup (Recommended)
32+
For comparing different SDK versions, set up separate virtual environments:
33+
34+
```bash
35+
# Create environments for different SDK versions
36+
python -m venv D:/envs/sdk_v1
37+
python -m venv D:/envs/sdk_v2
38+
39+
# Activate and install different SDK versions
40+
# Environment 1 (SDK v3.0.4100)
41+
D:/envs/sdk_v1/Scripts/activate
42+
pip install dynamsoft-capture-vision-bundle==3.0.4100
43+
44+
# Environment 2 (SDK v3.0.6000)
45+
D:/envs/sdk_v2/Scripts/activate
46+
pip install dynamsoft-capture-vision-bundle==3.0.6000
47+
```
48+
49+
## Usage
50+
51+
```bash
52+
python sdk_comparison.py
53+
```
54+
55+
![version comparison tool](https://www.dynamsoft.com/codepool/img/2025/09/python-sdk-comparison-tool.png)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PySide6>=6.5.0
2+
opencv-python>=4.8.0
3+
numpy>=1.24.0
4+
Pillow>=10.0.0
5+
dynamsoft-capture-vision-bundle>=3.0.4100

0 commit comments

Comments
 (0)