←Select platform

BarCodeReadPreprocessCallback Delegate

Summary
A callback method that is used to process deblurred images generated by BarCodeReadPreprocessCommand object.
Syntax
C#
Objective-C
C++/CLI
Java
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) 
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

Help Version 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.