How to read barcodes from camera stream

Since v7.0, Dynamsoft Barcode Reader SDK added StartFrameDecoding() and StopFrameDecoding() APIs. With the APIs and OpenCV library, you can easily read barcodes from video stream.

Get a sample: C++ Decode Video Frame >

Note: The sample is for Windows Edition, but the C++ code is the same as the Linux Edition. You can refer to the source code for reference and build your own application.

To learn more about the StartFrameDecoding() and StopFrameDecoding() APIs, see C++ API Reference.

results matching ""

    No results matching ""