Skip to content

Commit 48e6448

Browse files
committed
Update README.md
1 parent 4eda0a5 commit 48e6448

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

examples/official/ip_camera/README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
# USB Camera to IP Camera
1+
# USB Camera to IP Camera with Barcode Scanning
22

33
A complete solution for transforming your USB camera into an IP camera with both web access and a professional desktop client! This system includes a Python server that streams video from any USB camera over your local network, plus a modern GUI client for viewing and managing camera streams.
44

5+
Real-time barcode scanning powered by **Dynamsoft Barcode Reader**! The GUI client also supports live barcode detection with visual overlays showing detected codes directly on the video stream.
6+
57
## 📋 Requirements
68

79
- **Python**: 3.7 or higher
810
- **Hardware**: USB camera connected to your PC
11+
- [30-day Trial License Key](https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform) for Dynamsoft Barcode Reader
912

1013
## 🛠️ Installation
1114

@@ -20,6 +23,13 @@ A complete solution for transforming your USB camera into an IP camera with both
2023
pip install -r requirements.txt
2124
```
2225

26+
4. Update the license key in `gui_client/barcode_scanner.py` for barcode scanning.
27+
28+
```python
29+
license_key = "LICENSE-KEY"
30+
```
31+
32+
2333
## 🎯 Quick Start
2434

2535
### 1. Start the IP Camera Server
@@ -31,7 +41,6 @@ python ip_camera_server.py
3141
The server will:
3242
- Detect your USB camera automatically
3343
- Start streaming on port 5000
34-
- Display access URLs in console
3544
- Create a web interface at `http://localhost:5000`
3645

3746
### 2. Access Your Camera
@@ -47,11 +56,17 @@ python main.py
4756
```
4857

4958
Then:
50-
1. Click "Connect to Camera" or press Ctrl+O
59+
1. Click "Connect to Camera"
5160
2. Enter connection details:
5261
- **IP Address**: `localhost` (or your PC's IP)
5362
- **Port**: `5000`
5463
- **Stream Path**: `/video_feed`
5564
3. Click "Connect" to start streaming
65+
4. **Enable Barcode Scanning** (optional):
66+
- Check "Enable Barcode Scanning" in the control panel
67+
- Point camera at barcodes/QR codes to see real-time detection
68+
- Detected codes appear as green overlays with yellow text
69+
- Results are displayed in the "Detected Barcodes" text area
70+
5671

5772

0 commit comments

Comments
 (0)