.Net API Reference - BarcodeReader Result Methods
Method | Description |
---|---|
GetIntermediateResults |
Returns intermediate results containing the original image, the colour clustered image, the binarized Image, contours, Lines, TextBlocks, etc. |
GetIntermediateResults
Returns intermediate results containing the original image, the colour clustered image, the binarized Image, contours, Lines, TextBlocks, etc.
IntermediateResult[] Dynamsoft.Barcode.BarcodeReader.GetIntermediateResults()
Return value
Intermediate results.
Code Snippet
BarcodeReader reader = new BarcodeReader();
reader.ProductKeys = "t0260NwAAAHV***************";
PublicRuntimeSettings settings = new PublicRuntimeSettings();
settings = reader.GetRuntimeSettings();
settings.IntermediateResultTypes = (int)(EnumIntermediateResultType.IRT_ORIGINAL_IMAGE | EnumIntermediateResultType.IRT_COLOUR_CLUSTERED_IMAGE | EnumIntermediateResultType.IRT_COLOUR_CONVERTED_GRAYSCALE_IMAGE);
reader.UpdateRuntimeSettings(settings);
string fileName = @"C:\Program Files (x86)\Dynamsoft\{Version number}\Images\AllSupportedBarcodeTypes.tif";
TextResult[] textResult = demo.DecodeFile(fileName, "");
IntermediateResult[] intermediateResults = reader.GetIntermediateResults();
reader.Dispose();