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.
Use Barcode Scanner Mobile Demo
- Go to Advanced Scan –> Settings, enable the Image Cropper.
- Back to scan page, click the button on the top-right corner.
- 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).