How to identify PatchSheet

Hi Team,

I have an Image which contain patchsheets, Is there any way to identify that it is a patch sheet ?

I have attached a sample patch sheet image along with this post.

Regards

Anish

Hi Anish,

Thanks for contacting technical support. Yes, you can recognize patch sheets through Patch Code symbology. I tested your sample patch sheet against the latest build of Aspose.BarCode for .NET 5.7.0.0 and able to recognize it as “Patch II”. You can download the latest version from here: Download Barcode Recognition .NET Library | Aspose.BarCode

Please check the sample source code in the documentation link below:

In addition, there are some evaluation limitations. You can avoid evaluation limitations by getting a temporary license for 30 days and try the latest version at your end.

You can learn all about how Aspose products are licensed by checking out the Licenses FAQ here: Purchase FAQ - Purchase - aspose.com

Please do let me know in case of further assistance or questions.

Hi imran,

I have downloaded the dll’s and tried with this code but it is not entering into the while loop and recognise the patch sheet.

BarCodeReader reader;

reader =

new Aspose.BarCodeRecognition.BarCodeReader(@"C:\Users\30133581\Desktop\Issues\201309209000002.jpg",

BarCodeReadType.Code128);

//target barcode is Code128 or EAN128 types of barcode

while (reader.Read())

{

Console.Write("Code Text: " + reader.GetCodeText());

Console.Write("Symbology Type: " + reader.GetReadType());

}

reader.Close();

In your post i have seen this example

BarCodeReader reader;
reader = new Aspose.BarCode.BarCodeReader(@"C:\SamplePic\128.jpg",
BarCodeReadType.Code128);
//target barcode is Code128 or EAN128 types of barcode
while(reader.Read())
{
Console.Write("Code Text: " + reader.GetCodeText());
Console.Write("Symbology Type: " + reader.GetReadType());
}
reader.Close();BarCodeReader reader;
reader = new Aspose.BarCode.BarCodeReader(@"C:\SamplePic\128.jpg",
BarCodeReadType.Code128);
//target barcode is Code128 or EAN128 types of barcode
while(reader.Read())
{
Console.Write("Code Text: " + reader.GetCodeText());
Console.Write("Symbology Type: " + reader.GetReadType());
}
reader.Close();

But when i try this on my machine it gives me this error 'BarcodeReader doesnot exist in the namespace Aspose.Barcode' , So that i initialize the Barcodereader class in a different way that you can see in the top of this post.

So please provide me some snipets of code that you have used to read the patch sheetThanks

Anish

Hi Anish,

I’m sorry about the inconvenienced you faced. It is to update you that BarCode Reader class exists in the Aspose.BarCodeRecognition namespace. I’ve updated the documentation page. Second, please select a correct symbology type to scan a barcode image. In your case, you can select the symbology type as Patch Code or AllSupportedTypes. Please try the following source code below:

using (BarCodeReader reader = new BarCodeReader(@“C:\temp\201309209000002.jpg”, BarCodeReadType.PatchCode))

{

while (reader.Read())

{

Console.WriteLine("Code Text: " + reader.GetCodeText() + " Type: " + reader.GetReadType());

}

}

Please do let me know in case of any confusion or questions.