Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programming/cplusplus/api-reference/enum-barcode-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ enum BarcodeFormat : unsigned long long
BF_ALL = 0xFFFFFFFEFFFFFFFF,
/**The default barcode format settings. It's a combined value of BF_ONED, BF_GS1_DATABAR, BF_PDF417, BF_QR_CODE, BF_DATAMATRIX, BF_AZTEC, BF_MAXICODE, BF_MICRO_QR, BF_MICRO_PDF417, BF_GS1_COMPOSITE*/
BF_DEFAULT = 0xFE3BFFFF,
/**Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE;*/
/**Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE, BF_CODE_11;*/
BF_ONED = 0x003007FF,
/**Combined value of BF_GS1_DATABAR_OMNIDIRECTIONAL, BF_GS1_DATABAR_TRUNCATED, BF_GS1_DATABAR_STACKED, BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL, BF_GS1_DATABAR_EXPANDED, BF_GS1_DATABAR_EXPANDED_STACKED, BF_GS1_DATABAR_LIMITED*/
BF_GS1_DATABAR = 0x0003F800,
/**Combined value of BF2_USPSINTELLIGENTMAIL, BF2_POSTNET, BF2_PLANET, BF2_AUSTRALIANPOST, BF2_RM4SCC, BF_KIX.*/
/**Combined value of BF_USPSINTELLIGENTMAIL, BF_POSTNET, BF_PLANET, BF_AUSTRALIANPOST, BF_RM4SCC, BF_KIX.*/
BF_POSTALCODE = 0x3F0000000000000,
/**Code 39*/
BF_CODE_39 = 0x1,
Expand Down
14 changes: 13 additions & 1 deletion programming/cplusplus/samples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,28 @@ permalink: /programming/cplusplus/samples/index.html

# Samples and Demos - C++ Edition


## Samples

### Basic Barcode Reader Samples

| Sample Name | Description |
| --- | --- |
| <a href="https://github.com/Dynamsoft/barcode-reader-c-cpp-samples/tree/main/Samples/HelloWorld/ReadAnImage" target="_blank">ReadAnImage</a> | This sample demonstrates the simplest way to read barcodes from an image file and output barcode format and text. |
| <a href="https://github.com/Dynamsoft/barcode-reader-c-cpp-samples/tree/main/Samples/HelloWorld/ReadMultipleImages" target="_blank">ReadMultipleImages</a> | This sample demonstrates the simplest way to read barcodes from directory with image files and output barcode format and text. |
| <a href="https://github.com/Dynamsoft/barcode-reader-c-cpp-samples/tree/main/Samples/MultiThreadDecoding" target="_blank">MultiThreadDecoding</a> | This sample demonstrates how to read barcodes and get barcode results in self-managed thread. |
| <a href="https://github.com/Dynamsoft/barcode-reader-c-cpp-samples/tree/main/Samples/VideoDecoding" target="_blank">VideoDecoding</a> | This sample demonstrates how to read barcodes from video frames. |

### Additional Samples using Capture Vision SDK

In 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.

> [!IMPORTANT]
> 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.

| Sample Name | Description |
| --- | --- |
| <a href="https://github.com/Dynamsoft/capture-vision-cpp-samples/blob/main/Samples/DriverLicenseScanner" target="_blank">DriverLicenseScanner</a> | Shows how to capture and extract user's information from driver license/ID. |
| <a href="https://github.com/Dynamsoft/capture-vision-cpp-samples/blob/main/Samples/VINScanner" target="_blank">VINScanner</a> | Shows how to capture and extract vehicle's information from Vehicle Identification Number (VIN). |

## Official Online Demo
This <a href="https://demo.dynamsoft.com/barcode-reader/" target="_blank">Online Demo</a> is an online barcode scanner for all barcode types. All supported parameters are opened for customization to see how Dynamsoft Barcode Reader works in different usage scenarios.
4 changes: 2 additions & 2 deletions programming/dotnet/api-reference/enum-barcode-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public enum EnumBarcodeFormat : ulong
BF_ALL = 0xFFFFFFFEFFFFFFFF,
/**The default barcode format settings. It's a combined value of BF_ONED, BF_GS1_DATABAR, BF_PDF417, BF_QR_CODE, BF_DATAMATRIX, BF_AZTEC, BF_MAXICODE, BF_MICRO_QR, BF_MICRO_PDF417, BF_GS1_COMPOSITE*/
BF_DEFAULT = 0xFE3BFFFF,
/**Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE;*/
/**Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE, BF_CODE_11;*/
BF_ONED = 0x003007FF,
/**Combined value of BF_GS1_DATABAR_OMNIDIRECTIONAL, BF_GS1_DATABAR_TRUNCATED, BF_GS1_DATABAR_STACKED, BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL, BF_GS1_DATABAR_EXPANDED, BF_GS1_DATABAR_EXPANDED_STACKED, BF_GS1_DATABAR_LIMITED*/
BF_GS1_DATABAR = 0x0003F800,
/**Combined value of BF2_USPSINTELLIGENTMAIL, BF2_POSTNET, BF2_PLANET, BF2_AUSTRALIANPOST, BF2_RM4SCC, BF_KIX.*/
/**Combined value of BF_USPSINTELLIGENTMAIL, BF_POSTNET, BF_PLANET, BF_AUSTRALIANPOST, BF_RM4SCC, BF_KIX.*/
BF_POSTALCODE = 0x3F0000000000000,
/**Code 39*/
BF_CODE_39 = 0x1,
Expand Down
15 changes: 14 additions & 1 deletion programming/dotnet/samples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,28 @@ needAutoGenerateSidebar: false

# Samples and Demos - .NET Edition


## Samples

### Basic Barcode Reader Samples

| Sample Name | Description |
| --- | --- |
| <a href="https://github.com/Dynamsoft/barcode-reader-dotnet-samples/tree/main/Samples/HelloWorld/ReadAnImage" target="_blank">ReadAnImage</a> | This sample demonstrates the simplest way to read barcodes from an image file and output barcode format and text. |
| <a href="https://github.com/Dynamsoft/barcode-reader-dotnet-samples/tree/main/Samples/HelloWorld/ReadMultipleImages" target="_blank">ReadMultipleImages</a> | This sample demonstrates the simplest way to read barcodes from directory with image files and output barcode format and text. |
| <a href="https://github.com/Dynamsoft/barcode-reader-dotnet-samples/tree/main/Samples/GeneralSettings" target="_blank">GeneralSettings</a> | This sample demonstrates how to configure general used settings and read barcodes from an image file. |
| <a href="https://github.com/Dynamsoft/barcode-reader-dotnet-samples/tree/main/Samples/ReadDPMBarcode" target="_blank">ReadDPMBarcode</a> | This sample demonstrates how to read DPM (Direct Part Marking) barcodes and get barcode results. |

### Additional Samples using Capture Vision SDK

In 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.

> [!IMPORTANT]
> These samples use the `Dynamsoft.DotNet.CaptureVision.Bundle` package instead of `Dynamsoft.DotNet.BarcodeReader.Bundle`. If you're switching to these samples, make sure to install and use the correct package.

| Sample Name | Description |
| --- | --- |
| <a href="https://github.com/Dynamsoft/capture-vision-dotnet-samples/blob/main/Samples/DriverLicenseScanner" target="_blank">DriverLicenseScanner</a> | Shows how to capture and extract user's information from driver license/ID. |
| <a href="https://github.com/Dynamsoft/capture-vision-dotnet-samples/blob/main/Samples/VINScanner" target="_blank">VINScanner</a> | Shows how to capture and extract vehicle's information from Vehicle Identification Number (VIN). |

## Official Online Demo
This <a href="https://demo.dynamsoft.com/barcode-reader/" target="_blank">Online Demo</a> is an online barcode scanner for all barcode types. All supported parameters are opened for customization to see how Dynamsoft Barcode Reader works in different usage scenarios.
10 changes: 5 additions & 5 deletions programming/python/api-reference/enum-barcode-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ codeAutoHeight: true

```python
class EnumBarcodeFormat(IntEnum):
#No barcode format in BarcodeFormat
BF_NULL = 0x00
#All supported formats in BarcodeFormat
BF_ALL = 0xFFFFFFFEFFFFFFFF
#The default barcode format settings. It's a combined value of BF_ONED, BF_GS1_DATABAR, BF_PDF417, BF_QR_CODE, BF_DATAMATRIX, BF_AZTEC, BF_MAXICODE, BF_MICRO_QR, BF_MICRO_PDF417, BF_GS1_COMPOSITE
BF_DEFAULT = 0xFE3BFFFF
#Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E,BF_MSI_CODE;
#Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE, BF_CODE_11;
BF_ONED = 0x003007FF
#Combined value of BF_GS1_DATABAR_OMNIDIRECTIONAL, BF_GS1_DATABAR_TRUNCATED, BF_GS1_DATABAR_STACKED, BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL,BF_GS1_DATABAR_EXPANDED, BF_GS1_DATABAR_EXPANDED_STACKED, BF_GS1_DATABAR_LIMITED
BF_GS1_DATABAR = 0x0003F800
#Combined value of BF_USPSINTELLIGENTMAIL, BF_POSTNET, BF_PLANET, BF_AUSTRALIANPOST, BF_RM4SCC, BF_KIX.
BF_POSTALCODE = 0x3F0000000000000
#Code 39
BF_CODE_39 = 0x1
#Code 128
Expand Down Expand Up @@ -88,8 +88,6 @@ class EnumBarcodeFormat(IntEnum):
BF_FIVE_DIGIT_ADD_ON = 0x800000
#Matrix 25
BF_MATRIX_25 = 0x1000000000
#Combined value of BF2_USPSINTELLIGENTMAIL, BF2_POSTNET, BF2_PLANET, BF2_AUSTRALIANPOST, BF2_RM4SCC.
BF_POSTALCODE = 0x3F0000000000000
#Nonstandard barcode
BF_NONSTANDARD_BARCODE = 0x100000000
#USPS Intelligent Mail.
Expand All @@ -112,4 +110,6 @@ class EnumBarcodeFormat(IntEnum):
BF_PHARMACODE_TWO_TRACK = 0x800000000
#PHARMACODE.
BF_PHARMACODE = 0xC00000000
#No barcode format in BarcodeFormat
BF_NULL = 0x00
```
14 changes: 14 additions & 0 deletions programming/python/samples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ needAutoGenerateSidebar: false

## Samples

### Basic Barcode Reader Samples

| Sample Name | Description |
| --- | --- |
| <a href="https://github.com/Dynamsoft/barcode-reader-python-samples/blob/master/Samples/read_an_image.py" target="_blank">ReadAnImage</a> | Shows the simplest way to read barcodes from an image file and output barcode format and text. |
Expand All @@ -20,5 +22,17 @@ needAutoGenerateSidebar: false
| <a href="https://github.com/Dynamsoft/barcode-reader-python-samples/blob/master/Samples/video_decoding.py" target="_blank">VideoDecoding</a> | Shows how to decode barcodes from live video or video file. |
| <a href="https://github.com/Dynamsoft/barcode-reader-python-samples/blob/master/Samples/multi_format_image_processing.py" target="_blank">MultiFormatImageProcessing</a> | Shows how to decode barcodes from various image format. |

### Additional Samples using Capture Vision SDK

In 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.

> [!IMPORTANT]
> These samples use the `dynamsoft_capture_vision_bundle` package instead of `dynamsoft_barcode_reader_bundle`. If you're switching to these samples, make sure to install and use the correct package.

| Sample Name | Description |
| --- | --- |
| <a href="https://github.com/Dynamsoft/capture-vision-python-samples/blob/main/Samples/driver_license_scanner.py" target="_blank">DriverLicenseScanner</a> | Shows how to capture and extract user's information from driver license/ID. |
| <a href="https://github.com/Dynamsoft/capture-vision-python-samples/blob/main/Samples/vin_scanner.py" target="_blank">VINScanner</a> | Shows how to capture and extract vehicle's information from Vehicle Identification Number (VIN). |

## Official Online Demo
This <a href="https://demo.dynamsoft.com/barcode-reader/" target="_blank">Online Demo</a> is an online barcode scanner for all barcode types. All supported parameters are opened for customization to see how Dynamsoft Barcode Reader works in different usage scenarios.