Parameter Configuration Classes
iPublicRuntimeSettings
You can update most of the parameter settings through the iPublicRuntimeSettings
class.
- Objective-C
- Swift
@interface iPublicRuntimeSettings : NSObject
class iPublicRuntimeSettings : NSObject
Attribute | Descriptions |
---|---|
terminatePhase |
Sets the phase to stop the barcode reading algorithm. |
timeout |
Set the maximum time spent on scanning one image (page). |
maxAlgorithmThreadCount |
Sets the number of threads the image processing algorithm will use to decode barcodes. |
expectedBarcodesCount |
Sets the number of barcodes expected to be detected for each image. |
barcodeFormatIds |
BarcodeFormat group 1. Read more in EnumBarcodeFormat |
barcodeFormatIds_2 |
BarcodeFormat group 2. Read more in EnumBarcodeFormat_2 |
pdfRasterDPI |
Sets the output image resolution. |
scaleDownThreshold |
Sets the threshold for the image shrinking. |
binarizationModes |
Sets the mode and priority for binarization. |
localizationModes |
Sets the mode and priority for localization algorithms. |
furtherModes |
Further modes settings. Please read more in FurtherModes class. |
deblurLevel |
Sets the degree of blurriness of the barcode. |
intermediateResultTypes |
Sets which types of intermediate result to be kept for further reference. |
intermediateResultSavingMode |
Sets the mode for saving intermediate result. |
resultCoordinateType |
Specifies the format for the coordinates returned. |
textResultOrderModes |
Sets the mode and priority for the order of the text results returned. |
returnBarcodeZoneClarity |
Sets whether or not to return the clarity of the barcode zone. |
region |
Sets the scan region. Please read more in iRegionDefinition Class |
minBarcodeTextLength |
Sets the range of barcode text length for barcodes search. |
minResultConfidence |
The minimum confidence of the result. |
scaleUpModes |
Sets the mode and priority to control the sampling methods of scale-up for linear barcode with small module sizes. |
pdfReadingMode |
Sets the way to detect barcodes from a PDF file when using the DecodeFile method. |
deblurModes |
Sets the mode and priority for deblurring. |
barcodeZoneMinDistanceToImageBorders |
Sets the minimum distance (in pixels) between the barcode zone and image borders. |
iFurtherModes
FurtherModes
is an extension of the PublicRuntimeSettings
class. Through the FurtherModes
, you can make advanced settings to process the image for barcode reading.
- Objective-C
- Swift
@interface iFurtherModes : NSObject
class iFurtherModes : NSObject
Attribute | Descriptions |
---|---|
colourClusteringModes |
Sets the mode and priority for colour categorization. |
colourConversionModes |
Sets the mode and priority for converting a colour image to a grayscale image. |
grayscaleTransformationModes |
Sets the mode and priority for the grayscale image conversion. |
regionPredetectionModes |
Sets the region pre-detection mode for barcodes search. |
imagePreprocessingModes |
Sets the mode and priority for image preprocessing algorithms. |
textureDetectionModes |
Sets the mode and priority for texture detection. |
textFilterModes |
Sets the mode and priority for text filter. |
dpmCodeReadingModes |
Sets the mode and priority for DPM code reading. |
deformationResistingModes |
Sets the mode and priority for deformation resisting. |
barcodeComplementModes |
Sets the mode and priority to complement the missing parts in the barcode. |
barcodeColourModes |
Sets the mode and priority for the barcode colour mode used to process the barcode zone. |
accompanyingTextRecognitionModes |
Sets the mode and priority to recognize accompanying text. |