←Select platform

BarCodeReadPreprocessCallback Delegate

Summary

A callback method that is used to process deblurred images generated by BarCodeReadPreprocessCommand object.

Syntax
C#
VB
Objective-C
C++
Java
public delegate bool BarCodeReadPreprocessCallback( 
   RasterImage binarizedImage, 
   LeadRect barcodeZone 
) 
Public Delegate Function BarCodeReadPreprocessCallback( _ 
   ByVal binarizedImage As RasterImage, _ 
   ByVal barcodeZone As LeadRect _ 
) As Boolean 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly