Error processing SSI file
LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)

Show in webframe

BarCodeReadPreprocessCallback Delegate








A RasterImage that represents the Barcode Read Preprocessed (Binarized) image.
A LeadRect that represents the zone in the image where barcode data has been found.
A callback method that is used to process deblurred images generated by BarCodeReadPreprocessCommand object.
Syntax
public delegate bool BarCodeReadPreprocessCallback( 
   RasterImage binarizedImage,
   LeadRect barcodeZone
)
'Declaration
 
Public Delegate Function BarCodeReadPreprocessCallback( _
   ByVal binarizedImage As RasterImage, _
   ByVal barcodeZone As LeadRect _
) As Boolean
'Usage
 
Dim instance As New BarCodeReadPreprocessCallback(AddressOf HandlerMethod)
public delegate bool BarCodeReadPreprocessCallback( 
   RasterImage binarizedImage,
   LeadRect barcodeZone
)
typedef BOOL (^LTBarCodeReadPreprocessCallback)(LTRasterImage * __null_unspecified binarizedImage, LeadRect barcodeZone)

- (BOOL)run:(LTRasterImage *)image
   progress:(nullable LTRasterCommandProgress)progressHandler
 preprocess:(nullable LTBarCodeReadPreprocessCallback)preprocessCallback
      error:(NSError **)error
            
public void removePreprocessListener()
public void setPreprocessListener(BarCodeReadPreprocessListener value)
            
BarCodeReadPreprocessCallback( 
   binarizedImage ,
   barcodeZone 
)
public delegate bool BarCodeReadPreprocessCallback( 
   RasterImage^ binarizedImage,
   LeadRect barcodeZone
)

Parameters

binarizedImage
A RasterImage that represents the Barcode Read Preprocessed (Binarized) image.
barcodeZone
A LeadRect that represents the zone in the image where barcode data has been found.

Return Value

true to continue, false to abort.
Remarks
Barcode analyzer engine generates eight deblurring possibilities of the processed image. If barcode reader does not find barcode data, this callback should return a false value in order to get the next deblurred image, otherwise true value should be returned.
Requirements

Target Platforms

See Also

Reference

BarCodeReadPreprocessCallback Members
Leadtools.ImageProcessing.Core Namespace

Error processing SSI file