A callback method that is used to process deblurred images generated by BarCodeReadPreprocessCommand object.
public delegate bool BarCodeReadPreprocessCallback(
RasterImage binarizedImage,
LeadRect barcodeZone
)
Public Delegate Function BarCodeReadPreprocessCallback( _
ByVal binarizedImage As Leadtools.RasterImage, _
ByVal barcodeZone As Leadtools.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(
Leadtools.RasterImage^ binarizedImage,
Leadtools.LeadRect barcodeZone
)
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.
true to continue, false to abort.
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET