Table of contents

Obtain Original Image

This page is the guide of how to obtain the original image that used for data capturing.

Use Original Image Hash ID

mRouter.addResultReceiver(new CapturedResultReceiver() {
    @Override
    public void onDecodedBarcodesReceived(@NonNull DecodedBarcodesResult result) {
        String hashID = result.getOriginalImageHashId();
        IntermediateResultManager intermediateResultManager = mRouter.getIntermediateResultManager();
        ImageData data = intermediateResultManager.getOriginalImage(hashID);
    }
});

Use Debug Sample

Debug sample is a simple sample for you to easily get the original image for debugging.

View on GitHub

Use Barcode Scanner Mobile Demo

  1. Go to Advanced Scan –> Settings, enable the Image Cropper.
  2. Back to scan page, click the button on the top-right corner.
  3. It takes a while for capturing. When it finishes, the images are saved as a .zip file. The APP asks you how to open the file. (You can share the file via the Teams).

This page is compatible for: