diff --git a/_config.yml b/_config.yml index 190b2d8..749acc7 100644 --- a/_config.yml +++ b/_config.yml @@ -44,6 +44,7 @@ dnt_icon: /capture-vision/docs/core/assets/img-icon/icon-dnt.svg useVersionTree: true isDCV: true +useJSVersionV3: true baseurl: "/capture-vision/docs/core" plugins: diff --git a/_data/product_version.yml b/_data/product_version.yml index 31c8516..e67cb27 100644 --- a/_data/product_version.yml +++ b/_data/product_version.yml @@ -1,4 +1,5 @@ useGroupedVersion: true version_info_list: - - value: latest version \ No newline at end of file + - value: latest version + - value: 2.x diff --git a/_includes/sidelist-architecture-v2.6.1000.html b/_includes/sidelist-architecture-v2.6.1000.html deleted file mode 100644 index 1cd4505..0000000 --- a/_includes/sidelist-architecture-v2.6.1000.html +++ /dev/null @@ -1,19 +0,0 @@ -



Figure 2 – Object reference relationships in a parameter template
-Example 1 – Parameters of TargetROIDef
-
Figure 1 – An example showing the key concepts
-
Figure 2 – Offset example
-
Figure 3 – How to reference another TargetObjectDef
-Example 1 – Parameters of LabelRecognizerTaskSetting
-| Mode Argument Name | -Mode Argument Summary | -
|---|---|
| Mode (Required) |
- Description Specifies a deblur mode. - |
-
| Type String - |
- |
| Candidate Mode List
- DM_DIRECT_BINARIZATION - DM_THRESHOLD_BINARIZATION - DM_GRAY_EQUALIZATION - DM_SMOOTHING - DM_MORPHING - DM_DEEP_ANALYSIS - DM_SHARPENING - DM_BASED_ON_LOC_BIN - DM_SHARPENING_SMOOTHING - DM_SKIP - |
- |
| LibraryFileName (Optional) |
- Description Sets the file name of the library to load dynamically. - |
-
| Type String - |
- |
| Range A string value representing file name. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
- |
| LibraryParameters (Optional) |
- Description The library must be in the same place with Dynamsoft Barcode Reader Library. - |
-
| Type String - |
- |
| Range A string value representing parameters. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
-
| Child Parameter Name | -Child Parameter Summary | -
|---|---|
| MinValue | -Description Sets the minimum interior angle. - |
-
| Type int - |
- |
| Range [0,90] - |
- |
| Default Value 70 - |
- |
| MaxValue | -Description Sets the maximum interior angle. - |
-
| Type int - |
- |
| Range [90,180] - |
- |
| Default Value 110 |
- |
| Remarks Please ensure that all interior angles of the target quadrilateral fall within the specified value range. - If the setting values doesn't meet the requirement ranges, an error will be raised. - |
-
| Mode Argument Name | -Mode Argument Summary | -
|---|---|
| Mode (Required) |
- Description Specifies a mode for quadrilateral detection. - |
-
| Type String - |
- |
| Candidate Mode List QDM_GENERAL QDM_SKIP - |
- |
| Default Value ["QDM_GENERAL"] - |
-
| Mode Argument Name | -Mode Argument Summary | -
|---|---|
| Mode (Required) |
- Description Any one in Candidate Mode List as string - |
-
| Type String - |
- |
| Candidate Mode List BM_THRESHOLD - BM_LOCAL_BLOCK - BM_SKIP - |
- |
| BlockSizeX (Optional) |
- Description Sets the horizontal block size for the binarization process. - |
-
| Type int - |
- |
| Range [0,1000] - |
- |
| Valid For BM_LOCAL_BLOCK - |
- |
| BlockSizeY (Optional) |
- Description Sets the vertical block size for the binarization process. - |
-
| Type int - |
- |
| Range [0,1000] - |
- |
| Valid For BM_LOCAL_BLOCK - |
- |
| EnableFillBinaryVacancy (Optional) |
- Description Sets whether to enable binary vacancy filling. - |
-
| Type int - |
- |
| Range [0,1] - |
- |
| Valid For BM_LOCAL_BLOCK - |
- |
| ThresholdCompensation (Optional) |
- Description Constant subtracted from the mean or weighted mean used for calculating the threshold. Normally, it is positive but may be zero or negative as well. - |
-
| Type int - |
- |
| Range [-255, 255] - |
- |
| Valid For BM_LOCAL_BLOCK - |
- |
| BinarizationThreshold (Optional) |
- Description Sets the binarization threshold. - |
-
| Type int - |
- |
| Range [-1, 255] - |
- |
| Valid For BM_THRESHOLD - |
- |
MorphOperation(Optional) |
- Description Sets the morph operation for the morphology process. - |
-
| Type String - |
- |
| Range "Erode", "Dilate", "Open" or "Close" - |
- |
| Valid For All modes - |
- |
| MorphOperationKernelSizeX (Optional) |
- Description Sets the horizontal kernel size for the morphology process. - |
-
| Type int - |
- |
| Range [-1, 1000] - |
- |
| Valid For All modes - |
- |
| MorphOperationKernelSizeY (Optional) |
- Description Sets the vertical kernel size for the morphology process. - |
-
| Type int - |
- |
| Range [-1, 1000] - |
- |
| Valid For All modes - |
- |
| MorphShape (Optional) |
- Description Sets the morph shape for the morphology process. - |
-
| Type String - |
- |
| Range "Rectangle", "Cross" or "Ellipse" - |
- |
| Valid For All modes - |
- |
| GrayscaleEnhancementModesIndex (Optional) |
- Description The index of a specific image preprocessing mode in the GrayscaleEnhancementModes parameter which the current binarization mode is applied to. - |
-
| Type int - |
- |
| Range [-1, 0x7fffffff] - |
- |
| Valid For All modes - |
- |
| LibraryFileName (Optional) |
- Description Sets the file name of the library to load dynamically. - |
-
| Type String - |
- |
| Range A string value representing file name. - |
- |
| Default Value "" - |
- |
| Valid For All modes - |
- |
| LibraryParameters (Optional) |
- Description The library must be in the same place with Dynamsoft Barcode Reader Library. - |
-
| Type String - |
- |
| Range A string value representing parameters. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
-
| Mode Argument Name | -Mode Argument Summary | -
|---|---|
| Mode (Required) |
- Description Any one in Candidate Mode List as string - |
-
| Type String - |
- |
| Candidate Mode List CICM_HSV - CICM_GENERAL - CICM_SKIP - |
- |
| Default Value CICM_GENERAL - |
- |
| BlueChannelWeight (Optional) |
- Description Sets the weight value of Blue Colour Channel used for converting a colour image to a grayscale image. - |
-
| Type int - |
- |
| Range [-1,1000] - |
- |
| Default Value -1 - |
- |
| Valid For CICM_GENERAL - |
- |
| GreenChannelWeight (Optional) |
- Description Sets the weight value of Green Colour Channel used for converting a colour image to a grayscale image. - |
-
| Type int - |
- |
| Range [-1,1000] - |
- |
| Default Value -1 - |
- |
| Valid For CICM_GENERAL - |
- |
| RedChannelWeight (Optional) |
- Description Sets the weight value of Red Colour Channel used for converting a colour image to a grayscale image. - |
-
| Type int - |
- |
| Range [-1,1000] - |
- |
| Default Value -1 - |
- |
| Valid For CICM_GENERAL - |
- |
| ReferChannel (Optional) |
- Description Sets reference channel used for converting a colour image to a grayscale image by HSV algorithm. - |
-
| Type string - |
- |
| Range "H_CHANNEL","S_CHANNEL","V_CHANNEL" - |
- |
| Default Value "H_CHANNEL" - |
- |
| Valid For CICM_HSV - |
- |
| LibraryFileName (Optional) |
- Description Sets the file name of the library to load dynamically. - |
-
| Type String - |
- |
| Range A string value representing file name. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
- |
| LibraryParameters (Optional) |
- Description The library must be in the same place with Dynamsoft Barcode Reader Library. - |
-
| Type String - |
- |
| Range A string value representing parameters. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
-
| Mode Argument Name | -Mode Argument Summary | -
|---|---|
| Mode (Required) |
- Description Any one in Candidate Mode List as string - |
-
| Type String - |
- |
| Candidate Mode List GEM_GENERAL - GEM_GRAY_EQUALIZE - GEM_GRAY_SMOOTH - GEM_SHARPEN_SMOOTH - GEM_SKIP - |
- |
| Default Value GEM_GENERAL - |
- |
| Sensitivity (Optional) |
- Description Sets the sensitivity to perform the equalization process. A larger value means a higher possibility that gray equalization will be activated. - |
-
| Type int - |
- |
| Range [1,9] - |
- |
| Default Value 5 - |
- |
| Valid For GEM_GRAY_EQUALIZE - |
- |
| SmoothBlockSizeX (Optional) |
- Description Sets the horizontal block size(neighborhood pixel counts) for the smoothing process. - |
-
| Type int - |
- |
| Range [3,1000] - |
- |
| Default Value 3 - |
- |
| Valid For GEM_GRAY_SMOOTH - GEM_SHARPEN_SMOOTH - |
- |
| SmoothBlockSizeY (Optional) |
- Description Sets the vertical block size(neighborhood pixel counts) for the smoothing process. - |
-
| Type int - |
- |
| Range [3,1000] - |
- |
| Default Value 3 - |
- |
| Valid For GEM_GRAY_SMOOTH - GEM_SHARPEN_SMOOTH - |
- |
| SharpenBlockSizeX (Optional) |
- Description Sets the horizontal block size(neighborhood pixel counts) for the sharpening process. - |
-
| Type int - |
- |
| Range [3,1000] - |
- |
| Default Value 3 - |
- |
| Valid For GEM_SHARPEN_SMOOTH - |
- |
| SharpenBlockSizeY (Optional) |
- Description Sets the vertical block size(neighborhood pixel counts) for the sharpening process. - |
-
| Type int - |
- |
| Range [3,1000] - |
- |
| Default Value 3 - |
- |
| Valid For GEM_SHARPEN_SMOOTH - |
- |
| LibraryFileName (Optional) |
- Description Sets the file name of the library to load dynamically. - |
-
| Type String - |
- |
| Range A string value representing file name. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
- |
| LibraryParameters (Optional) |
- Description The library must be in the same place with Dynamsoft Barcode Reader Library. - |
-
| Type String - |
- |
| Range A string value representing parameters. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
-
| Mode Argument Name | -Mode Argument Summary | -
|---|---|
| Mode (Required) |
- Description Any one in Candidate Mode List as string - |
-
| Type String - |
- |
| Candidate Mode List - RPM_SKIP - RPM_AUTO - RPM_GENERAL - RPM_GENERAL_RGB_CONTRAST - RPM_GENERAL_GRAY_CONTRAST - RPM_GENERAL_HSV_CONTRAST - |
- |
| AspectRatioRange (Optional) |
- Description Specifies one or multiple sets of aspect ratio ranges as a string for filtering the predetected region. Aspect Ratio = BoundingRectHeight/BoundingRectWidth * 100 - |
-
| Type String - |
- |
| Substruct Define one range: "[MinAspectRatio, MaxAspectRatio]" Define multiple ranges: "[MinAspectRatio, MaxAspectRatio];[MinAspectRatio, MaxAspectRatio];..." - |
- |
| Range MinAspectRatio: [0,10000] MaxAspectRatio: [0,10000] - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - |
- |
| FindAccurateBoundary (Optional) |
- Description Sets whether to enable finding accurate boundary: - 0: disable. - 1: enable. - |
-
| Type int - |
- |
| Range [0,1] - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - RPM_GENERAL_RGB_CONTRAST - RPM_GENERAL_GRAY_CONTRAST - |
- |
| ForeAndBackgroundColours (Required by RPM_GENERAL_HSV_CONTRAST ) |
- Description Specifies a set (or multiple sets) of the foreground and background colours used for region predetection algorithm based on HSV colour space: - |
-
| Type String - |
- |
| Substruct Define one range: "[ForegroundColour,BackgroundColour,Tolerance]" Define multiple ranges: "[ForegroundColour,BackgroundColour,Tolerance];[ForegroundColour,BackgroundColour,Tolerance];..." - |
- |
| Range ForegroundColour: [-1,360] BackgroundColour: [-1,360] Tolerance: [0, 360] - |
- |
| Valid For RPM_GENERAL_HSV_CONTRAST - |
- |
| HeightRange (Optional) |
- Description Specifies a set (or multiple sets) of height range for filtering the predetected region. The height is measured by the height of the bounding rect of the predetected region. - |
-
| Type String - |
- |
| Substruct Define one range: "[MinHeight, MaxHeight]" Define multiple ranges: "[MinHeight, MaxHeight];[MinHeight, MaxHeight];..." - |
- |
| Range MinHeight: [1, 0x7fffffff] MaxHeight: [1, 0x7fffffff] - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - |
- |
| WidthRange (Optional) |
- Description Specifies a set (or multiple sets) of width range for filtering the predetected region. The width is measured by the width of the bounding rect of the predetected region. - |
-
| Type String - |
- |
| Substruct Define one range: "[MinWidth, MaxWidth]" Define multiple ranges: "[MinWidth, MaxWidth];[MinWidth, MaxWidth];..." - |
- |
| Range A string value representing height range sets. - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - |
- |
| MinImageDimension (Optional) |
- Description Sets the minimum image dimension (in pixels) to enable region pre-detection. - The library will enable the region pre-detection feature only when the image dimension is larger than the given value. - |
-
| Type int - |
- |
| Range [16384, 0x7fffffff] - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - RPM_GENERAL_RGB_CONTRAST - RPM_GENERAL_GRAY_CONTRAST - |
- |
| RelativeRegions (Optional) |
- Description Sets the barcode regions relative to the pre-detected region. - |
-
| Type String - |
- |
| Substruct Define one region: "[Left,Top,Right,Bottom,Index]" Define multiple region: "[Left,Top,Right,Bottom,Index];[Left,Top,Right,Bottom,Index];..." - |
- |
| Range Left, Top, Right, Bottom: [-10000,10000] Index: [-1,0x7fffffff] - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - |
- |
| Remarks Parameters Left, Top, Right, Bottom are measured in percentage. Parameter Index points to a specific colour that set in ForeAndBackgroundColours. Set it to -1 to apply the current RelativeRegion to all ForeAndBackgroundColours. - |
- |
| Sensitivity (Optional) |
- Description Sets the sensitivity used for region predetection algorithm, a larger value means the library will take more effort to detect regions. - |
-
| Type int - |
- |
| Range [1,9] - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - RPM_GENERAL_RGB_CONTRAST - RPM_GENERAL_GRAY_CONTRAST - |
- |
| SpatialIndexBlockSize (Optional) |
- Description Sets the spatial index block size used for region predetection algorithm. The block size used for region predetection would be 2 to the power of N. The allowed values of SpatialIndexBlockSize is the power number (N=1,2,3…). - |
-
| Type int - |
- |
| Range [1, 32] - |
- |
| Default Value 5 - |
- |
| Valid For - RPM_GENERAL_HSV_CONTRAST - RPM_GENERAL_RGB_CONTRAST - RPM_GENERAL_GRAY_CONTRAST - |
- |
| LibraryFileName (Optional) |
- Description Sets the file name of the library to load dynamically. - |
-
| Type String - |
- |
| Range A string value representing file name. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
- |
| LibraryParameters (Optional) |
- Description The library must be in the same place with Dynamsoft Barcode Reader Library. - |
-
| Type String - |
- |
| Range A string value representing parameters. - |
- |
| Default Value "" - |
- |
| Valid For All modes. - |
-
| Child Parameter Name | -Child Parameter Summary | -
|---|---|
| BarcodeFormatIds | -Description Filter the reference objects by the barcode formats. - |
-
| Type String[] - |
- |
| Range Each member of the array should be one of the BarcodeFormatIds as a string. - |
- |
| Default Value - |
- |
| BarcodeTextRegExPattern | -Description Filter the reference objects by the barcode text with a RegEx string. - |
-
| Type String - |
- |
| Default Value "" - |
-
| Child Parameter Name | -Child Parameter Summary | -
|---|---|
| ImageDimensionRange | -Description Filter the reference objects by the dimension of their original images. - |
-
| Type int[2] - |
- |
| Default Value [16384,0x7fffffff] - |
- |
| AspectRatioRange | -Description Filter the reference objects by the aspect ratio of their original images. - Aspect Ratio = BoundingRectHeight/BoundingRectWidth * 100 [MinAspectRatio, MaxAspectRatio] - |
-
| Type int[2] - |
- |
| Default Value [1, 10000] - |
- |
| WidthRange | -Description Filter the reference objects by the width of their original images. - |
-
| Type int[2] - |
- |
| Default Value [1, 0x7fffffff] - |
- |
| HeightRange | -Description Filter the reference objects by the height of their original images. - |
-
| Type int[2] - |
- |
| Default Value [1, 0x7fffffff] - |
-
| Child Parameter Name | -Child Parameter Summary | -
|---|---|
| LineNumbers | -Description Filter the reference objects by the line numbers. - |
-
| Type String - |
- |
| Range A string of one or more of the following data, separated by commas: 1. One int value which represents a specified line index; 2. One Expression, start index and stop index connected with ""-"", which represents a specified line index range. - |
- |
| Default Value "" - |
- |
| Remarks (1) The value is 1-based. (2) "" represents all lines. (3) The processed of the not specified text lines will implement the default settings. (4) If the line number you specified doesn't exist, the library will ignore it. - |
- |
| LineStringRegExPattern | -Description Filter the reference objects by the content of the text line with a RegEx string. - |
-
| Type String - |
- |
| Default Value "" - |
-
| Child Parameter Name | -Child Parameter Details | -
|---|---|
| AxisType |
- Description The type of the axis. - |
-
| Type String - |
- |
| Value Range "AT_MIDPOINT_EDGE", "AT_EDGE", or "AT_ROTATION_OTHER_AXIS" - "AT_MIDPOINT_EDGE": Indicates connecting the midpoints of the reference object's opposite edges as the axis. - "AT_EDGE": Indicates using one of the reference object's edges as the axis. - "AT_ROTATION_OTHER_AXIS": Indicates deriving the current axis by rotating another reference axis. - |
- |
| Default Value "AT_MIDPOINT_EDGE" - |
- |
| EdgeIndex |
- Description Define which edge of the reference object will be set as the x-axis of the coordinate system. - |
-
| Type int - |
- |
| Value Range 0, 1, 2, 3 - |
- |
| Default Value 0 - |
- |
| Remarks Valid only when `AxisType` is "AT_EDGE" - |
- |
| RotationAngle |
- Description The counterclockwise rotation angle used to rotate the reference axis. - |
-
| Type int - |
- |
| Value Range [0, 180] - |
- |
| Default Value 90 - |
- |
| RemarksValid only when `AxisType` is "AT_ROTATION_OTHER_AXIS". - | -|
| LengthReference |
- Description Defines the measurement benchmark. - |
-
| Type String - |
- |
| Value Range "LR_X", "LR_Y" - "LR_X": Indicates using the x-axis edge length as the standard length within the coordinate system. - "LR_Y": Indicates using the y-axis edge length as the standard length within the coordinate system . - |
- |
| Default Value "LR_X" - |
- |
| Remarks Valid only when `AxisType` is "AT_MIDPOINT_EDGE" or "AT_EDGE" - |
-
| Child Parameter Name | -Child Parameter Details | -
|---|---|
| AxisType |
- Description The type of the axis. - |
-
| Type String - |
- |
| Value Range "AT_MIDPOINT_EDGE", "AT_EDGE", or "AT_ROTATION_OTHER_AXIS" - "AT_MIDPOINT_EDGE": Indicates connecting the midpoints of the reference object's opposite edges as the axis. - "AT_EDGE": Indicates using one of the reference object's edges as the axis. - "AT_ROTATION_OTHER_AXIS": Indicates deriving the current axis by rotating another reference axis. - |
- |
| Default Value "AT_MIDPOINT_EDGE" - |
- |
| EdgeIndex |
- Description Define which edge of the reference object will be set as the y-axis of the coordinate system. - |
-
| Type int - |
- |
| Value Range 0, 1, 2, 3 - |
- |
| Default Value 1 - |
- |
| Remarks Valid only when `AxisType` is "AT_EDGE" - |
- |
| RotationAngle |
- Description The clockwise rotation angle used to rotate the reference axis. - |
-
| Type int - |
- |
| Value Range [0, 180] - |
- |
| Default Value 90 - |
- |
| RemarksValid only when `AxisType` is "AT_ROTATION_OTHER_AXIS". - | -|
| LengthReference |
- Description Defines the measurement benchmark. - |
-
| Type String - |
- |
| Value Range "LR_X", "LR_Y" - "LR_X": Indicates using the x-axis edge length as the standard length within the coordinate system. - "LR_Y": Indicates using the y-axis edge length as the standard length within the coordinate system . - |
- |
| Default Value "LR_Y" - |
- |
| Remarks Valid only when `AxisType` is "AT_MIDPOINT_EDGE" or "AT_EDGE" - |
-