Barcode Xpress for Java v13.9 - Updated
BarcodeReader Class Methods


com.accusoft.barcodexpress Package : BarcodeReader Class

For a list of all members of this type, see BarcodeReader members.

Public Methods
 NameDescription
Public MethodDetects barcodes on the given bitmap image.  
Public Method

Gets a value determining whether an additional reading pass will be performed.

Default value: false.  
Public Method

Gets the area of the image, in pixels, to analyze for barcode recognition.

Default value: 0,0,0,0.

 
Public Method

Gets the type of barcodes to analyze during recognition processing.

Default value: BarcodeType.ALL.  
Public Method

Gets a value determining whether or not Barcode Xpress will find and decode Code 39 / Code 39 Extended barcodes when their start and stop patterns are missing.

Default value: true.  
Public Method

Gets the orientation of the barcodes to analyze during recognition.

Default value: Orientation.HORIZONTALVERTICAL.  
Public Method

Gets a boolean determining whether or not to decode Royal Mail 4-State barcodes of any length.

Default value: false.  
Public Method

Gets the scan distance in pixels between line sweeps when searching for 1D barcodes.

Default value: 5.  
Public Method

Sets a value which determines if additional processing pass will be performed on a scaled (reduced) version of the original image.

If this property is set to true, additional processing pass of a scaled (reduced) version of the original image will be performed (scale factor equal to 0.5). After analyzing both these images, results from the pass that yields a higher confidence value would be reported. This step is strictly an extra analysis step which increases response time. It can be used for barcode images with repetitive noise artifacts around the bars which cause normal recognition pass to misread.  
Public Method

Sets the area of the image, in pixels, to analyze for barcode recognition.

If it is desired to analyze the entire image, set the Area property values (x, y, width and height) to zero.  
Public MethodSets the type of barcodes to analyze during recognition processing. If searching for BarcodeTypes BarcodeType.Unknown and any other BarcodeType, the other BarcodeType will be searched for. Also, If you want to search for BarcodeType.PATCHCODE, you must not specify any other BarcodeTypes to search for. If BarcodeType.PATCHCODE and any other BarcodeType is specified, the other BarcodeType will be searched for instead.  
Public Method

Sets a value which determines whether or not Barcode Xpress will find and decode Code 39 / Code 39 Extended barcodes when their start and stop patterns are missing.

If this property is set to true then only regular (barcode has both start and stop patterns) barcodes are recognized. When this property is set to false then both regular and barcodes without start/stop patterns are recognized. This is relevant for Code39 and Code39 Extended barcode symbologies.  
Public Method

Sets the orientation of the barcodes to analyze during recognition.

The barcode recognition engine is capable of detecting barcodes in an image without any prior knowledge of the barcode orientation. However, you can speed up the recognition process by specifying a barcode orientation.  
Public Method

Sets the RoyalMailVariableLengthDecoging property which determines whether or not to adhere to the RM4SCC specification regarding barcode lengths

By default, this property is set to false. When set to true, Royal Mail barcodes of any length will be decoded.  
Public Method

Sets the scan distance in pixels between line sweeps when searching for 1D barcodes.

Reducing this value can help in finding barcodes which are short relative to their height. This value effects the run time of the barcode search. Smaller values will require more processing of the image.  
Top
See Also

Reference

BarcodeReader Class
com.accusoft.barcodexpress Package

Is this page helpful?
Yes No
Thanks for your feedback.