Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Dynamsoft/barcode-reader-python-samples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.0.0
Choose a base ref
...
head repository: Dynamsoft/barcode-reader-python-samples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Aug 30, 2022

  1. Copy the full SHA
    a2baaac View commit details

Commits on Aug 31, 2022

  1. Merge pull request #41 from FrancisJC/francis-patch-1

    delete barcode_format_string_2
    DMGithubPublisher authored Aug 31, 2022
    Copy the full SHA
    4d2dba2 View commit details

Commits on Oct 21, 2022

  1. update license.md

    DMGithubPublisher committed Oct 21, 2022
    Copy the full SHA
    6233a25 View commit details

Commits on Nov 3, 2022

  1. Update README.md

    updated license section
    rachel-dynamsoft authored Nov 3, 2022
    Copy the full SHA
    c547a47 View commit details

Commits on Nov 7, 2022

  1. Merge pull request #42 from rachel-dynamsoft/patch-1

    Update README.md
    DMGithubPublisher authored Nov 7, 2022
    Copy the full SHA
    bb593c9 View commit details

Commits on Nov 8, 2022

  1. Update README.md

    updated sample descriptions
    rachel-dynamsoft authored Nov 8, 2022
    Copy the full SHA
    c2820e6 View commit details
  2. Merge pull request #43 from rachel-dynamsoft/patch-2

    Update README.md
    DMGithubPublisher authored Nov 8, 2022
    Copy the full SHA
    d90bf70 View commit details

Commits on Nov 10, 2022

  1. Copy the full SHA
    68d1117 View commit details

Commits on Apr 10, 2023

  1. Copy the full SHA
    bc12692 View commit details

Commits on May 11, 2023

  1. Copy the full SHA
    3374bb3 View commit details

Commits on Aug 29, 2023

  1. update to v9.6.30

    DMGithubPublisher committed Aug 29, 2023
    Copy the full SHA
    cc7d1b9 View commit details

Commits on Dec 28, 2023

  1. Update README.md

    claire-chan authored Dec 28, 2023
    Copy the full SHA
    220eda6 View commit details

Commits on Mar 14, 2024

  1. update to v9.6.40

    DMGithubPublisher committed Mar 14, 2024
    Copy the full SHA
    43f47e7 View commit details
  2. Copy the full SHA
    29e5122 View commit details
  3. Copy the full SHA
    c42384d View commit details

Commits on Mar 15, 2024

  1. update to v9.6.40

    DMGithubPublisher committed Mar 15, 2024
    Copy the full SHA
    96b1b19 View commit details

Commits on Oct 10, 2024

  1. update to v10.4.20

    jane-dynamsoft committed Oct 10, 2024
    Copy the full SHA
    23f709c View commit details

Commits on Nov 7, 2024

  1. update

    jane-dynamsoft committed Nov 7, 2024
    Copy the full SHA
    1e77f9b View commit details
  2. update

    jane-dynamsoft committed Nov 7, 2024
    Copy the full SHA
    45237f6 View commit details

Commits on Dec 5, 2024

  1. update

    DMGithubPublisher committed Dec 5, 2024
    Copy the full SHA
    a1477e8 View commit details
  2. update

    DMGithubPublisher committed Dec 5, 2024
    Copy the full SHA
    a643bf7 View commit details

Commits on Apr 9, 2025

  1. Copy the full SHA
    2494e4b View commit details

Commits on Apr 23, 2025

  1. update

    DMGithubPublisher committed Apr 23, 2025
    Copy the full SHA
    adf635a View commit details

Commits on May 8, 2025

  1. Copy the full SHA
    f251f44 View commit details

Commits on May 23, 2025

  1. update

    DMGithubPublisher committed May 23, 2025
    Copy the full SHA
    4322a46 View commit details

Commits on Jul 15, 2025

  1. update to 11.0.4000

    DMGithubPublisher committed Jul 15, 2025
    Copy the full SHA
    03e041d View commit details
Showing with 3,954 additions and 1,120 deletions.
  1. +99 −0 CustomTemplates/ReadAztec.json
  2. +113 −0 CustomTemplates/ReadBarcodes_Default.json
  3. +144 −0 CustomTemplates/ReadBarcodes_ReadRateFirst.json
  4. +151 −0 CustomTemplates/ReadBarcodes_SpeedFirst.json
  5. +61 −0 CustomTemplates/ReadBlurryBarcode.json
  6. +83 −0 CustomTemplates/ReadDPM.json
  7. +105 −0 CustomTemplates/ReadDenseQRCode.json
  8. +125 −0 CustomTemplates/ReadDotcode.json
  9. +57 −0 CustomTemplates/ReadInvertedBarcode.json
  10. +103 −0 CustomTemplates/ReadMultipleBarcode.json
  11. +162 −0 CustomTemplates/ReadSingleBarcode.json
  12. +2 −2 LICENSE.md
  13. +1,771 −0 Legal.txt
  14. +49 −30 README.md
  15. +83 −0 Samples/ReadDPM.json
  16. +75 −0 Samples/general_settings.py
  17. +79 −0 Samples/multi_format_image_processing.py
  18. +158 −0 Samples/parameter_tuner.py
  19. +41 −0 Samples/read_an_image.py
  20. +49 −0 Samples/read_dpm_barcode.py
  21. +54 −0 Samples/read_multiple_images.py
  22. +108 −0 Samples/server_side_barcode_decoder.py
  23. +135 −0 Samples/show_localized_vs_decoded_barcodes.py
  24. +147 −0 Samples/video_decoding.py
  25. BIN images/Codabar1.jpg
  26. BIN images/Code 128.png
  27. BIN images/DPM.png
  28. BIN images/GS1 DataBar.png
  29. BIN images/GeneralBarcodes.png
  30. BIN images/PatchCode.png
  31. BIN images/Pharmacode.png
  32. BIN images/PostalCode.png
  33. BIN images/blurry.png
  34. BIN images/codabar.jpg
  35. BIN images/inverted-barcode.png
  36. +0 −61 samples/general-settings.py
  37. +0 −31 samples/hello-world.py
  38. +0 −92 samples/image-decoding.py
  39. +0 −86 samples/performance/accuracy-first-settings.py
  40. +0 −26 samples/performance/accuracy-first-template.json
  41. +0 −39 samples/performance/batch-decode.py
  42. +0 −113 samples/performance/read-rate-first-settings.py
  43. +0 −134 samples/performance/read-rate-first-template.json
  44. +0 −120 samples/performance/speed-first-settings.py
  45. +0 −32 samples/performance/speed-first-template.json
  46. +0 −58 samples/use-case/read-dpm-barcode.py
  47. +0 −177 samples/video-decoding-for-picamera.py
  48. +0 −119 samples/video-decoding.py
99 changes: 99 additions & 0 deletions CustomTemplates/ReadAztec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"CaptureVisionTemplates": [
{
"Name": "ReadAztec",
"ImageROIProcessingNameArray": [
"roi_read_aztec"
],
"MaxParallelTasks": 0,
"Timeout": 1000
}
],
"TargetROIDefOptions": [
{
"Name": "roi_read_aztec",
"TaskSettingNameArray": [
"task_read_aztec"
]
}
],
"BarcodeReaderTaskSettingOptions": [
{
"Name": "task_read_aztec",
"ExpectedBarcodesCount": 1,
"BarcodeFormatIds": [
"BF_AZTEC"
],
"SectionArray": [
{
"Section": "ST_REGION_PREDETECTION",
"ImageParameterName": "ip_read_aztec",
"StageArray": [
{
"Stage": "SST_PREDETECT_REGIONS"
}
]
},
{
"Section": "ST_BARCODE_LOCALIZATION",
"ImageParameterName": "ip_read_aztec",
"StageArray": [
{
"Stage": "SST_LOCALIZE_CANDIDATE_BARCODES",
"LocalizationModes": [
{
"Mode": "LM_SCAN_DIRECTLY"
},
{
"Mode": "LM_CONNECTED_BLOCKS"
},
{
"Mode": "LM_STATISTICS"
}
]
},
{
"Stage": "SST_LOCALIZE_BARCODES"
}
]
},
{
"Section": "ST_BARCODE_DECODING",
"ImageParameterName": "ip_read_aztec",
"StageArray": [
{
"Stage": "SST_RESIST_DEFORMATION"
},
{
"Stage": "SST_COMPLEMENT_BARCODE"
},
{
"Stage": "SST_SCALE_BARCODE_IMAGE"
},
{
"Stage": "SST_DECODE_BARCODES"
}
]
}
]
}
],
"ImageParameterOptions": [
{
"Name": "ip_read_aztec",
"ApplicableStages": [
{
"Stage": "SST_TRANSFORM_GRAYSCALE",
"GrayscaleTransformationModes": [
{
"Mode": "GTM_ORIGINAL"
},
{
"Mode": "GTM_INVERTED"
}
]
}
]
}
]
}
113 changes: 113 additions & 0 deletions CustomTemplates/ReadBarcodes_Default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"CaptureVisionTemplates": [
{
"Name": "ReadBarcodes_Default",
"ImageROIProcessingNameArray": [
"roi-read-barcodes"
]
}
],
"TargetROIDefOptions": [
{
"Name": "roi-read-barcodes",
"TaskSettingNameArray": [
"task-read-barcodes"
]
}
],
"BarcodeReaderTaskSettingOptions": [
{
"Name": "task-read-barcodes",
"ExpectedBarcodesCount": 0,
"BarcodeFormatIds": [
"BF_DEFAULT"
],
"BarcodeFormatSpecificationNameArray": [
"bfs1",
"bfs2"
],
"SectionArray": [
{
"Section": "ST_REGION_PREDETECTION",
"ImageParameterName": "ip-read-barcodes",
"StageArray": [
{
"Stage": "SST_PREDETECT_REGIONS"
}
]
},
{
"Section": "ST_BARCODE_LOCALIZATION",
"ImageParameterName": "ip-read-barcodes",
"StageArray": [
{
"Stage": "SST_LOCALIZE_CANDIDATE_BARCODES"
},
{
"Stage": "SST_LOCALIZE_BARCODES"
}
]
},
{
"Section": "ST_BARCODE_DECODING",
"ImageParameterName": "ip-read-barcodes",
"StageArray": [
{
"Stage": "SST_RESIST_DEFORMATION"
},
{
"Stage": "SST_COMPLEMENT_BARCODE"
},
{
"Stage": "SST_SCALE_BARCODE_IMAGE"
},
{
"Stage": "SST_DECODE_BARCODES"
}
]
}
]
}
],
"BarcodeFormatSpecificationOptions": [
{
"Name": "bfs1",
"BarcodeFormatIds": [
"BF_PDF417",
"BF_QR_CODE",
"BF_DATAMATRIX",
"BF_AZTEC",
"BF_MICRO_QR",
"BF_MICRO_PDF417",
"BF_DOTCODE"
],
"MirrorMode": "MM_BOTH"
},
{
"Name": "bfs2",
"BarcodeFormatIds": [
"BF_ALL"
],
"MirrorMode": "MM_NORMAL"
}
],
"ImageParameterOptions": [
{
"Name": "ip-read-barcodes",
"ApplicableStages": [
{
"Stage": "SST_DETECT_TEXT_ZONES",
"TextDetectionMode": {
"Mode": "TTDM_LINE",
"Direction": "UNKNOWN",
"Sensitivity": 3
}
},
{
"Stage": "SST_REMOVE_TEXT_ZONES_FROM_BINARY",
"IfEraseTextZone": 1
}
]
}
]
}
144 changes: 144 additions & 0 deletions CustomTemplates/ReadBarcodes_ReadRateFirst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"CaptureVisionTemplates": [
{
"Name": "ReadBarcodes_ReadRateFirst",
"ImageROIProcessingNameArray": [
"roi-read-barcodes-read-rate"
],
"Timeout": 100000
}
],
"TargetROIDefOptions": [
{
"Name": "roi-read-barcodes-read-rate",
"TaskSettingNameArray": [
"task-read-barcodes-read-rate"
]
}
],
"BarcodeReaderTaskSettingOptions": [
{
"Name": "task-read-barcodes-read-rate",
"ExpectedBarcodesCount": 999,
"BarcodeFormatIds": [
"BF_DEFAULT"
],
"BarcodeFormatSpecificationNameArray": [
"bfs1-read-rate-first",
"bfs2-read-rate-first"
],
"SectionArray": [
{
"Section": "ST_REGION_PREDETECTION",
"ImageParameterName": "ip-read-barcodes-read-rate",
"StageArray": [
{
"Stage": "SST_PREDETECT_REGIONS"
}
]
},
{
"Section": "ST_BARCODE_LOCALIZATION",
"ImageParameterName": "ip-read-barcodes-read-rate",
"StageArray": [
{
"Stage": "SST_LOCALIZE_CANDIDATE_BARCODES",
"LocalizationModes": [
{
"Mode": "LM_CONNECTED_BLOCKS"
},
{
"Mode": "LM_LINES"
},
{
"Mode": "LM_STATISTICS"
}
]
},
{
"Stage": "SST_LOCALIZE_BARCODES"
}
]
},
{
"Section": "ST_BARCODE_DECODING",
"ImageParameterName": "ip-read-barcodes-read-rate",
"StageArray": [
{
"Stage": "SST_RESIST_DEFORMATION"
},
{
"Stage": "SST_COMPLEMENT_BARCODE"
},
{
"Stage": "SST_SCALE_BARCODE_IMAGE"
},
{
"Stage": "SST_DECODE_BARCODES"
}
]
}
]
}
],
"BarcodeFormatSpecificationOptions": [
{
"Name": "bfs1-read-rate-first",
"BarcodeFormatIds": [
"BF_PDF417",
"BF_QR_CODE",
"BF_DATAMATRIX",
"BF_AZTEC",
"BF_MICRO_QR",
"BF_MICRO_PDF417",
"BF_DOTCODE"
],
"MirrorMode": "MM_BOTH"
},
{
"Name": "bfs2-read-rate-first",
"BarcodeFormatIds": [
"BF_ALL"
],
"MirrorMode": "MM_NORMAL"
}
],
"ImageParameterOptions": [
{
"Name": "ip-read-barcodes-read-rate",
"ApplicableStages": [
{
"Stage": "SST_DETECT_TEXT_ZONES",
"TextDetectionMode": {
"Mode": "TTDM_LINE",
"Direction": "UNKNOWN",
"Sensitivity": 3
}
},
{
"Stage": "SST_REMOVE_TEXT_ZONES_FROM_BINARY",
"IfEraseTextZone": 1
},
{
"Stage": "SST_TRANSFORM_GRAYSCALE",
"GrayscaleTransformationModes": [
{
"Mode": "GTM_ORIGINAL"
},
{
"Mode": "GTM_INVERTED"
}
]
},
{
"Stage": "SST_SCALE_IMAGE",
"ImageScaleSetting": {
"ScaleType": "ST_SCALE_DOWN",
"ReferenceEdge": "RE_SHORTER_EDGE",
"EdgeLengthThreshold": 100000
}
}
]
}
]
}
Loading