@@ -0,0 +1,1044 @@
+package com.aspose.barcode.examples.barcode_recognition.advanced_features;%0A%0Aimport com.aspose.barcode.barcoderecognition.BarCodeReader;%0Aimport com.aspose.barcode.barcoderecognition.DecodeType;%0Aimport com.aspose.barcode.examples.Utils;%0A%0Apublic class SingleWipedBarsInPattern %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09// ExStart:SingleWipedBarsInPattern%0A%09%09// The path to the documents directory.%0A%09%09String dataDir = Utils.getDataDir(SingleWipedBarsInPattern.class) + %22BarcodeReader/advanced_features/%22;%0A%0A%09%09// Create an instance of BarCodeReader class%0A%09%09// Set file path%0A%09%09// Set the recognition type%0A%09%09BarCodeReader reader = new BarCodeReader(dataDir + %22file.tiff%22, DecodeType.CODE_128);%0A%0A%09%09// Perform read operation%0A%09%09reader.getQualitySettings().setAllowOneDWipedBarsRestoration(true);%0A%0A%09%09while (reader.read()) %7B%0A%09%09%09System.out.println(%22codetext: %22 + reader.getCodeText());%0A%09%09%09System.out.println(%22Symbology type: %22 + reader.getCodeType());%0A%09%09%7D%0A%0A%09%09reader.close();%0A%09%09// ExEnd:SingleWipedBarsInPattern%0A%09%7D%0A%0A%7D%0A

Create SingleWipedBarsInPattern.java