Skip to content

[Feature] Add new sample: scan-dpm-codes #281

@Tom-Dynamsoft

Description

@Tom-Dynamsoft

Description

Add a new scenario sample scenarios/scan-dpm-codes demonstrating how to read DPM (Direct Part Marking) barcodes using DBR JS. DPM codes — typically DataMatrix or QR codes etched or dot-peened directly onto metal/plastic surfaces — require specific DBR template settings to decode reliably due to low contrast, irregular marks, and curved surfaces. This is a common manufacturing/industrial use case not covered by the existing scan-datamatrix-code sample.

User Scenarios

  • A developer building an industrial part-tracking web app enables DPM mode in the DBR JS template and uses the sample as a reference
  • A user unfamiliar with DBR's DPM settings copies the sample to get started without reading the full API docs

Dependencies

  • DBR JS SDK with DPM template support (already available via CaptureVisionRouter template configuration)
  • Should follow the same structure as scenarios/scan-datamatrix-code — provide both foundational API and RTU API variants if applicable

Notes

  • Existing scan-datamatrix-code sample does NOT enable DPM mode — this is a distinct sample
  • Key config: enable DPMCodeReadingModes in the DBR template
  • Real-world contexts: automotive VINs, PCB markings, aerospace part IDs

Metadata

Metadata

Labels

featureNew feature request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions