diff --git a/_data/full_tree.yml b/_data/full_tree.yml
index 29b678d..e389af7 100644
--- a/_data/full_tree.yml
+++ b/_data/full_tree.yml
@@ -1,12 +1,17 @@
tree_file_list:
- sidelist-full-tree.html
- sidelist-programming/sidelist-architecture.html
+ - sidelist-programming/sidelist-architecture-v2.6.1000.html
- sidelist-programming/sidelist-performance.html
- sidelist-programming/sidelist-parameters-organization.html
- sidelist-programming/sidelist-parameter-reference.html
- sidelist-programming/sidelist-parameters.html
+ - sidelist-programming/sidelist-parameters-v2.6.1000.html
- sidelist-programming/sidelist-understanding.html
+ - sidelist-programming/sidelist-understanding-v2.4.2200.html
+ - sidelist-programming/sidelist-understanding-v2.6.1000.html
- sidelist-programming/programming-js.html
+ - sidelist-programming/programming-js-v2.6.1000.html
- sidelist-programming/programming-js-v2.2.3000.html
- sidelist-programming/programming-js-v2.4.2200.html
diff --git a/_data/product_version.yml b/_data/product_version.yml
index 00f029b..b649bf2 100644
--- a/_data/product_version.yml
+++ b/_data/product_version.yml
@@ -1,8 +1,9 @@
useGroupedVersion: true
version_info_list:
- - value: latest version(2.6.1000)
+ - value: latest version(3.0.3000)
- value: 2.x
child:
+ - 2.6.1000
- 2.4.2200
- 2.2.3000
\ No newline at end of file
diff --git a/_includes/sidelist-programming/programming-js-v2.6.1000.html b/_includes/sidelist-programming/programming-js-v2.6.1000.html
new file mode 100644
index 0000000..8c62df8
--- /dev/null
+++ b/_includes/sidelist-programming/programming-js-v2.6.1000.html
@@ -0,0 +1,1481 @@
+
DEVELOPMENT
+
+ User Guide
+
+
+
+ API Reference
+
+
+{%- include liquid_searchVersionTreeFile.html ver=include.ver curPath=include.curPath targetRelativePath="sidelist-understanding.html" -%}
+USEFUL RESOURCES
+
+ Release Notes
+
+
+License Initialization
\ No newline at end of file
diff --git a/_includes/sidelist-programming/programming-js.html b/_includes/sidelist-programming/programming-js.html
index 8c62df8..03c2fbb 100644
--- a/_includes/sidelist-programming/programming-js.html
+++ b/_includes/sidelist-programming/programming-js.html
@@ -8,26 +8,26 @@
@@ -106,6 +106,13 @@
>Intermediate Result
+
+ Auxiliaries
+
@@ -179,14 +186,21 @@
-
EnumCaptureState
+
+ -
+ EnumImageSourceState
-
EnumPresetTemplate
@@ -341,9 +355,9 @@
-
ScaledUpBarcodeImageUnitScaledBarcodeImageUnit
-
@@ -360,35 +374,35 @@
-
EnumBarcodeFormat
-
EnumDeblurMode
-
EnumExtendedBarcodeResultType
-
EnumLocalizationMode
-
EnumQRCodeErrorCorrectionLevel
@@ -499,7 +513,7 @@
-
EnumRawTextLineStatus
@@ -570,44 +584,72 @@
-
LogicLinesUnitDeskewedImageElement
-
LongLinesUnitDeskewedImageResultItem
+
+ -
+ DeskewedImagesUnit
+
+ -
+ EnhancedImageElement
-
NormalizedImageElementEnhancedImageResultItem
-
NormalizedImageResultItemEnhancedImagesUnit
-
NormalizedImagesResultLogicLinesUnit
-
NormalizedImagesUnitLongLinesUnit
+
+ -
+ ProcessedDocumentResult
+
+ -
+ ShortLinesUnit
-
@@ -624,7 +666,7 @@
-
EnumImageColourMode
@@ -935,14 +977,14 @@
-
EnumMappingStatus
-
EnumValidationStatus
@@ -985,9 +1027,23 @@
-
ImageDrawer
+
+ -
+ ImageIO
+
+ -
+ ImageManagerImageProcessor
-
@@ -1057,6 +1113,13 @@
>ColourImageUnit
+ -
+ CapturedResultBase
+
-
-
ScaledDownColourImageUnitScaledColourImageUnit
-
@@ -1302,98 +1365,112 @@
-
BufferOverflowProtectionMode
-
CapturedResultItemType
-
ColourChannelUsageType
-
CornerType
-
CrossVerificationStatus
-
ErrorCode
-
GrayscaleEnhancementMode
-
GrayscaleTransformationMode
-
ImageFileFormat
+
+ -
+ ImagePixelFormat
-
ImageTagType
-
IntermediateResultUnitType
-
ModuleName
+
+ -
+ RegionObjectElementType
-
SectionType
+
+# Enumeration ImageSourceState
+
+`ImageSourceState` describes the state of an object that conforms to the `ImageSourceAdapter` interface and is designated as the image source in a `CaptureVisionRouter` object.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumImageSourceState
+{
+ /** Indicates that the buffer of the image source is currently empty. */
+ ISS_BUFFER_EMPTY = 0,
+ /** Signifies that the source for the image source has been depleted. */
+ ISS_EXHAUSTED = 1
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/enum-preset-template.md b/programming/javascript/api-reference/capture-vision-router/enum-preset-template.md
new file mode 100644
index 0000000..1c88a20
--- /dev/null
+++ b/programming/javascript/api-reference/capture-vision-router/enum-preset-template.md
@@ -0,0 +1,114 @@
+---
+layout: default-layout
+title: PresetTemplate - Dynamsoft Vision Router Enumerations
+description: The enumeration PresetTemplate of Dynamsoft Vision Router describes the preset template.
+keywords: Capture state
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+---
+
+# Enumeration PresetTemplate
+
+`PresetTemplate` describes the preset template names.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumPresetTemplate {
+ /**
+ * @brief Versatile function for barcode reading, document detection, or text recognition.
+ */
+ PT_DEFAULT = "Default",
+ /**
+ * @brief Scans a single barcode.
+ */
+ PT_READ_BARCODES = "ReadBarcodes_Default",
+ /**
+ * @brief Identifies and reads any text present.
+ */
+ PT_RECOGNIZE_TEXT_LINES = "RecognizeTextLines_Default",
+ /**
+ * @brief RIdentifies the edges of a document.
+ */
+ PT_DETECT_DOCUMENT_BOUNDARIES = "DetectDocumentBoundaries_Default",
+ /**
+ * @brief Detects document edges and standardizes its format.
+ */
+ PT_DETECT_AND_NORMALIZE_DOCUMENT = "DetectAndNormalizeDocument_Default",
+ /**
+ * @brief Adjusts a document to a standard format using detected borders.
+ */
+ PT_NORMALIZE_DOCUMENT = "NormalizeDocument_Default",
+ /**
+ * @brief Represents a barcode reading mode where speed is prioritized.
+ *
+ * In this mode, the barcode reader will optimize for faster barcode detection
+ * and decoding, sacrificing some level of accuracy and read rate. It is suitable
+ * for situations where a quick response time is more important than perfect
+ * barcode recognition.
+ */
+ PT_READ_BARCODES_SPEED_FIRST = "ReadBarcodes_SpeedFirst",
+ /**
+ * @brief Represents a barcode reading mode where barcode read rate is prioritized.
+ *
+ * In this mode, the barcode reader will optimize for higher barcode read rates,
+ * even if it may sometimes result in reduced accuracy and speed. It is suitable for
+ * scenarios where maximizing the number of successfully read barcodes is critical.
+ */
+ PT_READ_BARCODES_READ_RATE_FIRST = "ReadBarcodes_ReadRateFirst",
+ /**
+ * @brief Represents a balanced barcode reading mode.
+ *
+ * This mode aims for a reasonable balance between speed and read rate in barcode
+ * recognition. It is suitable for most common use cases where a compromise between
+ * speed and read rate is acceptable.
+ */
+ PT_READ_BARCODES_BALANCE = "ReadBarcodes_Balance",
+ /**
+ * @brief Represents a barcode reading mode for single barcode code detection.
+ *
+ * In this mode, the barcode reader will focus on detecting and decoding a single
+ * barcode code, ignoring any additional codes in the same image. It is efficient
+ * when the target image has only one barcode.
+ */
+ PT_READ_SINGLE_BARCODE = "ReadSingleBarcode",
+ /**
+ * @brief Represents a barcode reading mode optimized for dense barcode codes.
+ *
+ * This mode is designed to handle dense or closely packed barcode codes where
+ * accuracy is paramount. It may operate slower than other modes but is suitable
+ * for challenging scenarios where code density is high.
+ */
+ PT_READ_DENSE_BARCODES = "ReadDenseBarcodes",
+ /**
+ * @brief Represents a barcode reading mode optimized for distant barcode codes.
+ *
+ * This mode is designed to scanning a barcode that is placed far from the device.
+ */
+ PT_READ_DISTANT_BARCODES = "ReadDistantBarcodes",
+ /**
+ * @brief Represents a text recognition mode focused on recognizing numbers.
+ */
+ PT_RECOGNIZE_NUMBERS = "RecognizeNumbers",
+ /**
+ * @brief Represents a text recognition mode focused on recognizing alphabetic characters (letters).
+ *
+ */
+ PT_RECOGNIZE_LETTERS = "RecognizeLetters",
+ /**
+ * @brief Represents a text recognition mode that combines numbers and alphabetic characters (letters) recognition.
+ */
+ PT_RECOGNIZE_NUMBERS_AND_LETTERS = "RecognizeNumbersAndLetters",
+ /**
+ * @brief Represents a text recognition mode that combines numbers and uppercase letters recognition.
+ */
+ PT_RECOGNIZE_NUMBERS_AND_UPPERCASE_LETTERS = "RecognizeNumbersAndUppercaseLetters",
+ /**
+ * @brief Represents a text recognition mode focused on recognizing uppercase letters.
+ */
+ PT_RECOGNIZE_UPPERCASE_LETTERS = "RecognizeUppercaseLetters"
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/instantiate-v2.6.1000.md b/programming/javascript/api-reference/capture-vision-router/instantiate-v2.6.1000.md
new file mode 100644
index 0000000..a023f3b
--- /dev/null
+++ b/programming/javascript/api-reference/capture-vision-router/instantiate-v2.6.1000.md
@@ -0,0 +1,98 @@
+---
+layout: default-layout
+title: CaptureVisionRouter Instantiation - Dynamsoft Capture Vision JavaScript Edition API
+description: This page introduces APIs related to the instantiation of CaptureVisionRouter of Dynamsoft Capture Vision JavaScript Edition.
+keywords: capture vision, router, instance, api reference, javascript, js
+needAutoGenerateSidebar: true
+needGenerateH3Content: false
+noTitleIndex: true
+breadcrumbText: CVR JavaScript CaptureVisionRouter
+---
+
+# CaptureVisionRouter Instantiate
+
+| Name | Description |
+| -------------------------------------------- | ------------------------------------------------------------------------ |
+| `static` [createInstance()](#createinstance) | Initializes a new instance of the `CaptureVisionRouter` class. |
+| [dispose()](#dispose) | Releases all resources used by the `CaptureVisionRouter` instance. |
+| [disposed](#disposed) | Returns whether the `CaptureVisionRouter` instance has been disposed of. |
+
+## createInstance
+
+Initializes a new instance of the `CaptureVisionRouter` class.
+
+**Syntax**
+
+```typescript
+createInstance(): Promise;
+```
+
+**Parameter**
+
+None.
+
+**Return value**
+
+A promise that resolves with the initialized `CaptureVisionRouter` instance.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+```
+
+## dispose
+
+Releases all resources used by the `CaptureVisionRouter` instance.
+
+**Syntax**
+
+```typescript
+dispose(): Promise;
+```
+
+**Parameter**
+
+None.
+
+**Return value**
+
+A promise that resolves when the resources have been successfully released.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+// Use the router to perform a job.
+// ...
+// Release the resources after the job is finished.
+router.dispose();
+```
+
+## disposed
+
+Returns whether the `CaptureVisionRouter` instance has been disposed of.
+
+**Syntax**
+
+```typescript
+disposed: boolean;
+```
+
+**Parameter**
+
+None.
+
+**Return value**
+
+Boolean indicating whether the `CaptureVisionRouter` instance has been disposed of.
+
+**Code snippet**
+
+```javascript
+if(router.disposed){
+ console.log("The router has been disposed of.");
+} else {
+ // Use the router to perform a job.
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/instantiate.md b/programming/javascript/api-reference/capture-vision-router/instantiate.md
index a023f3b..1a26623 100644
--- a/programming/javascript/api-reference/capture-vision-router/instantiate.md
+++ b/programming/javascript/api-reference/capture-vision-router/instantiate.md
@@ -24,12 +24,15 @@ Initializes a new instance of the `CaptureVisionRouter` class.
**Syntax**
```typescript
-createInstance(): Promise;
+createInstance(loadPresetTemplates?: boolean): Promise;
```
**Parameter**
-None.
+`loadPresetTemplates`(optional): Determines whether to load the default preset templates.
+
+- true (default): Loads the default templates.
+- false: Skips loading the default templates.
**Return value**
diff --git a/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result-v2.6.1000.md b/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result-v2.6.1000.md
new file mode 100644
index 0000000..f3e0048
--- /dev/null
+++ b/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result-v2.6.1000.md
@@ -0,0 +1,77 @@
+---
+layout: default-layout
+title: Interface CapturedResult - Dynamsoft Capture Vision Router Module JS Edition API Reference
+description: This page shows the JS edition of the interface CapturedResult in Dynamsoft Capture Vision Router Module.
+keywords: captured result, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# CapturedResult
+
+The `CapturedResult` interface describes the basic structure of a result object returned by Dynamsoft Capture Vision Router.
+
+> NOTE:
+>
+> Depending on the functional module that generated the result item, the interface may vary:
+>
+> * dynamsoft-barcode-reader: [DecodedBarcodesResult](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/decoded-barcodes-result.html)
+> * dynamsoft-label-recognizer: [RecognizedTextLinesResult](https://www.dynamsoft.com/label-recognition/docs/web/programming/javascript/api-reference/interfaces/recognized-textlines-result.html)
+> * dynamsoft-document-normalizer: [DetectedQuadsResult](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/detected-quads-result.html) or [NormalizedImagesResult](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/normalized-images-result.html)
+> * dynamsoft-code-parser: [ParsedResult](https://www.dynamsoft.com/code-parser/docs/web/programming/javascript/api-reference/interfaces/parsed-result.html)
+
+```typescript
+interface CapturedResult {
+ readonly errorCode: number;
+ readonly errorString: string;
+ readonly originalImageHashId: string;
+ readonly originalImageTag: Core.ImageTag;
+ readonly items: Array;
+ readonly detectedQuadResultItems: Array;
+ readonly normalizedImageResultItems: Array;
+ readonly barcodeResultItems: Array;
+ readonly textLineResultItems: Array;
+ readonly parsedResultItems: Array;
+}
+```
+
+## errorCode
+
+Error code associated with the capture result.
+
+## errorString
+
+Error string providing details about the error.
+
+## originalImageHashId
+
+The hash ID of the original image.
+
+## originalImageTag
+
+The tag associated with the original image.
+
+## items
+
+An array of [CapturedResultItem]({{ site.dcvb_js_api }}core/basic-structures/captured-result-item.html) objects representing the captured result items.
+
+## detectedQuadResultItems
+
+An array of [DetectedQuadResultItem]({{ site.ddn_js_api }}interfaces/detected-quad-result-item.html) objects representing the detected quadrilateral result items.
+
+## normalizedImageResultItems
+
+An array of [NormalizedImageResultItem]({{ site.ddn_js_api }}interfaces/normalized-image-result-item.html) objects representing the normalized image result items.
+
+## barcodeResultItems
+
+An array of [BarcodeResultItem]({{ site.dbr_js_api }}interfaces/barcode-result-item.html) objects representing the decoded barcode result items.
+
+## textLineResultItems
+
+An array of [TextLineResultItem]({{ site.dlr_js_api }}interfaces/textline-result-item.html) objects representing the recognized text line result items.
+
+## parsedResultItems
+
+An array of [ParsedResultItem]({{ site.dcp_js_api }}interfaces/parsed-result-item.html) objects representing the parsed result items.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result.md b/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result.md
index f3e0048..ebedace 100644
--- a/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result.md
+++ b/programming/javascript/api-reference/capture-vision-router/interfaces/captured-result.md
@@ -18,52 +18,23 @@ The `CapturedResult` interface describes the basic structure of a result object
>
> * dynamsoft-barcode-reader: [DecodedBarcodesResult](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/decoded-barcodes-result.html)
> * dynamsoft-label-recognizer: [RecognizedTextLinesResult](https://www.dynamsoft.com/label-recognition/docs/web/programming/javascript/api-reference/interfaces/recognized-textlines-result.html)
-> * dynamsoft-document-normalizer: [DetectedQuadsResult](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/detected-quads-result.html) or [NormalizedImagesResult](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/normalized-images-result.html)
+> * dynamsoft-document-normalizer: [ProcessedDocumentResult](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/processed-document-result.html)
> * dynamsoft-code-parser: [ParsedResult](https://www.dynamsoft.com/code-parser/docs/web/programming/javascript/api-reference/interfaces/parsed-result.html)
```typescript
-interface CapturedResult {
- readonly errorCode: number;
- readonly errorString: string;
- readonly originalImageHashId: string;
- readonly originalImageTag: Core.ImageTag;
- readonly items: Array;
- readonly detectedQuadResultItems: Array;
- readonly normalizedImageResultItems: Array;
- readonly barcodeResultItems: Array;
- readonly textLineResultItems: Array;
- readonly parsedResultItems: Array;
+interface CapturedResult extends CapturedResultBase{
+ items: Array;
+ decodedBarcodesResult?: DecodedBarcodesResult;
+ recognizedTextLinesResult?: RecognizedTextLinesResult;
+ processedDocumentResult?: ProcessedDocumentResult;
+ parsedResult?: ParsedResult;
}
```
-## errorCode
-
-Error code associated with the capture result.
-
-## errorString
-
-Error string providing details about the error.
-
-## originalImageHashId
-
-The hash ID of the original image.
-
-## originalImageTag
-
-The tag associated with the original image.
-
## items
An array of [CapturedResultItem]({{ site.dcvb_js_api }}core/basic-structures/captured-result-item.html) objects representing the captured result items.
-## detectedQuadResultItems
-
-An array of [DetectedQuadResultItem]({{ site.ddn_js_api }}interfaces/detected-quad-result-item.html) objects representing the detected quadrilateral result items.
-
-## normalizedImageResultItems
-
-An array of [NormalizedImageResultItem]({{ site.ddn_js_api }}interfaces/normalized-image-result-item.html) objects representing the normalized image result items.
-
## barcodeResultItems
An array of [BarcodeResultItem]({{ site.dbr_js_api }}interfaces/barcode-result-item.html) objects representing the decoded barcode result items.
@@ -72,6 +43,10 @@ An array of [BarcodeResultItem]({{ site.dbr_js_api }}interfaces/barcode-result-i
An array of [TextLineResultItem]({{ site.dlr_js_api }}interfaces/textline-result-item.html) objects representing the recognized text line result items.
+## processedDocumentResult
+
+An array of [ProcessedDocumentResultItem]({{ site.ddn_js_api }}interfaces/processed-document-result-item.html) objects representing the processed document result related items.
+
## parsedResultItems
An array of [ParsedResultItem]({{ site.dcp_js_api }}interfaces/parsed-result-item.html) objects representing the parsed result items.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings-v2.6.1000.md b/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings-v2.6.1000.md
new file mode 100644
index 0000000..402a739
--- /dev/null
+++ b/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings-v2.6.1000.md
@@ -0,0 +1,107 @@
+---
+layout: default-layout
+title: Interface SimplifiedCaptureVisionSettings - Dynamsoft CaptureVisionRouter Module JS Edition API Reference v2.6.1000
+description: This page introduces the SimplifiedCaptureVisionSettings interface in Dynamsoft CaptureVisionRouter Module JS Edition v2.6.1000.
+keywords: capture vision, router, Intermediate-result, api reference, javascript, js
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# SimplifiedCaptureVisionSettings
+
+The `SimplifiedCaptureVisionSettings` interface provides a standardized way to adjust a select set of settings for a given `CaptureVisionTemplate`.
+
+```typescript
+interface SimplifiedCaptureVisionSettings {
+ barcodeSettings: SimplifiedBarcodeReaderSettings;
+ capturedResultItemTypes: EnumCapturedResultItemType;
+ documentSettings: SimplifiedDocumentNormalizerSettings;
+ labelSettings: SimplifiedLabelRecognizerSettings;
+ minImageCaptureInterval: number;
+ roi: Quadrilateral;
+ roiMeasuredInPercentage: boolean;
+}
+```
+
+## barcodeSettings
+
+Specifies the basic settings for the barcode reader module. It is of type `SimplifiedBarcodeReaderSettings`.
+
+```typescript
+barcodeSettings: SimplifiedBarcodeReaderSettings;
+```
+
+**See Also**
+
+[SimplifiedBarcodeReaderSettings](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/simplified-barcode-reader-settings.html)
+
+## capturedResultItemTypes
+
+Specifies the types of result items that are expected to be returned. It is of type `EnumCapturedResultItemType`.
+
+```typescript
+capturedResultItemTypes: EnumCapturedResultItemType;
+```
+
+**See Also**
+
+[EnumCapturedResultItemType]({{ site.dcvb_enums }}core/captured-result-item-type.html?lang=js)
+
+## documentSettings
+
+Specifies the basic settings for the document normalizer module. It is of type `SimplifiedDocumentNormalizerSettings`.
+
+```typescript
+documentSettings: SimplifiedDocumentNormalizerSettings;
+```
+
+**See Also**
+
+[SimplifiedDocumentNormalizerSettings](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/simplified-document-normalizer-settings.html)
+
+## labelSettings
+
+Specifies the basic settings for the label recognizer module. It is of type `SimplifiedLabelRecognizerSettings`.
+
+```typescript
+labelSettings: Dynamsoft.DLR.SimplifiedLabelRecognizerSettings;
+```
+
+**See Also**
+
+[SimplifiedLabelRecognizerSettings](https://www.dynamsoft.com/label-recognition/docs/web/programming/javascript/api-reference/interfaces/simplified-label-recognizer-settings.html?lang=js)
+
+## minImageCaptureInterval
+
+Specifies the shortest time span, in milliseconds, that must elapse between two successive image captures. Opting for a higher interval decreases capture frequency, which can lower the system's processing load and conserve energy. On the other hand, a smaller interval value increases the frequency of image captures, enhancing the system's responsiveness.
+
+> Handling of Special Values:
+>
+> -1: This value ensures the image source waits until processing of the current image is complete before starting to acquire the next one. This approach ensures there is a deliberate pause between processing consecutive images.
+>
+> 0 (The default setting): Adopting this value means the image source queues up the next image for immediate availability once processing of the current image is finished, facilitating continuous, uninterrupted image processing.
+
+```typescript
+minImageCaptureInterval: number;
+```
+
+## roi
+
+Designates the region of interest (ROI) within an image, limiting the image processing activities exclusively to this specified area. It is of type `Quadrilateral`.
+
+```typescript
+roi: Quadrilateral;
+```
+
+**See Also**
+
+[Quadrilateral]({{ site.dcvb_js_api }}core/basic-structures/quadrilateral.html?lang=js)
+
+## roiMeasuredInPercentage
+
+Determines if the coordinates for the region of interest (ROI) are expressed in percentage terms (true) or as exact pixel measurements (false).
+
+```typescript
+roiMeasuredInPercentage: boolean;
+```
diff --git a/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings.md b/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings.md
index a090f23..1c8542e 100644
--- a/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings.md
+++ b/programming/javascript/api-reference/capture-vision-router/interfaces/simplified-capture-vision-settings.md
@@ -1,7 +1,7 @@
---
layout: default-layout
-title: Interface SimplifiedCaptureVisionSettings - Dynamsoft CaptureVisionRouter Module JS Edition API Reference v2.0.30
-description: This page introduces the SimplifiedCaptureVisionSettings interface in Dynamsoft CaptureVisionRouter Module JS Edition v2.0.30.
+title: Interface SimplifiedCaptureVisionSettings - Dynamsoft CaptureVisionRouter Module JS Edition API Reference
+description: This page introduces the SimplifiedCaptureVisionSettings interface in Dynamsoft CaptureVisionRouter Module JS Edition.
keywords: capture vision, router, Intermediate-result, api reference, javascript, js
needAutoGenerateSidebar: true
needGenerateH3Content: true
@@ -14,8 +14,8 @@ The `SimplifiedCaptureVisionSettings` interface provides a standardized way to a
```typescript
interface SimplifiedCaptureVisionSettings {
+ outputOriginalImage: boolean;
barcodeSettings: SimplifiedBarcodeReaderSettings;
- capturedResultItemTypes: EnumCapturedResultItemType;
documentSettings: SimplifiedDocumentNormalizerSettings;
labelSettings: SimplifiedLabelRecognizerSettings;
minImageCaptureInterval: number;
@@ -24,29 +24,25 @@ interface SimplifiedCaptureVisionSettings {
}
```
-## barcodeSettings
+## outputOriginalImage
-Specifies the basic settings for the barcode reader module. It is of type `SimplifiedBarcodeReaderSettings`.
+Specifies whether to output the original image.
```typescript
-barcodeSettings: SimplifiedBarcodeReaderSettings;
+outputOriginalImage: boolean;
```
-**See Also**
-
-[SimplifiedBarcodeReaderSettings](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/simplified-barcode-reader-settings.html)
-
-## capturedResultItemTypes
+## barcodeSettings
-Specifies the types of result items that are expected to be returned. It is of type `EnumCapturedResultItemType`.
+Specifies the basic settings for the barcode reader module. It is of type `SimplifiedBarcodeReaderSettings`.
```typescript
-capturedResultItemTypes: EnumCapturedResultItemType;
+barcodeSettings: SimplifiedBarcodeReaderSettings;
```
**See Also**
-[EnumCapturedResultItemType]({{ site.dcvb_enums }}core/captured-result-item-type.html?lang=js)
+[SimplifiedBarcodeReaderSettings](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/simplified-barcode-reader-settings.html)
## documentSettings
diff --git a/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver-v2.6.1000.md b/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver-v2.6.1000.md
new file mode 100644
index 0000000..cf8268f
--- /dev/null
+++ b/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver-v2.6.1000.md
@@ -0,0 +1,723 @@
+---
+layout: default-layout
+title: Class IntermediateResultReceiver - Dynamsoft CaptureVisionRouter Module JS Edition API Reference
+description: This page introduces the IntermediateResultReceiver Class in Dynamsoft CaptureVisionRouter Module JS Edition.
+keywords: intermediate result receiver, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# IntermediateResultReceiver
+
+The `IntermediateResultReceiver` class is designed as a standardized way for retrieving intermediate results in image processing workflows in the Dynamsoft Capture Vision architecture. It adopts an event-driven approach, with events triggered for specific types of results, such as pre-detected regions, localized barcodes, etc. Each event is optional, allowing flexibility and customization based on the needs of the application.
+
+```typescript
+class IntermediateResultReceiver {
+ getObservationParameters(): Core.ObservationParameters;
+ onTaskResultsReceived?(result: IntermediateResult, info: IntermediateResultExtraInfo): void;
+ onPredetectedRegionsReceived?(result: PredetectedRegionsUnit, info: IntermediateResultExtraInfo): void;
+ onLocalizedBarcodesReceived?(result: LocalizedBarcodesUnit, info: IntermediateResultExtraInfo): void;
+ onDecodedBarcodesReceived?(result: DecodedBarcodesUnit, info: IntermediateResultExtraInfo): void;
+ onLocalizedTextLinesReceived?(result: LocalizedTextLinesUnit, info: IntermediateResultExtraInfo): void;
+ onRecognizedTextLinesReceived?(result: RecognizedTextLinesUnit, info: IntermediateResultExtraInfo): void;
+ onDetectedQuadsReceived?(result: DetectedQuadsUnit, info: IntermediateResultExtraInfo): void;
+ onNormalizedImagesReceived?(result: NormalizedImagesUnit, info: IntermediateResultExtraInfo): void;
+ onColourImageUnitReceived?(result: ColourImageUnit, info: IntermediateResultExtraInfo): void;
+ onScaledDownColourImageUnitReceived?(result: ScaledDownColourImageUnit, info: IntermediateResultExtraInfo): void;
+ onGrayscaleImageUnitReceived?(result: GrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+ onTransformedGrayscaleImageUnitReceived?(result: TransformedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+ onEnhancedGrayscaleImageUnitReceived?(result: EnhancedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+ onBinaryImageUnitReceived?(result: BinaryImageUnit, info: IntermediateResultExtraInfo): void;
+ onTextureDetectionResultUnitReceived?(result: TextureDetectionResultUnit, info: IntermediateResultExtraInfo): void;
+ onTextureRemovedGrayscaleImageUnitReceived?(result: TextureRemovedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+ onTextureRemovedBinaryImageUnitReceived?(result: TextureRemovedBinaryImageUnit, info: IntermediateResultExtraInfo): void;
+ onContoursUnitReceived?(result: ContoursUnit, info: IntermediateResultExtraInfo): void;
+ onLineSegmentsUnitReceived?(result: LineSegmentsUnit, info: IntermediateResultExtraInfo): void;
+ onTextZonesUnitReceived?(result: TextZonesUnit, info: IntermediateResultExtraInfo): void;
+ onTextRemovedBinaryImageUnitReceived?(result: TextRemovedBinaryImageUnit, info: IntermediateResultExtraInfo): void;
+ onShortLinesUnitReceived?(result: Core.ShortLinesUnit, info: Core.IntermediateResultExtraInfo): void;
+ onLongLinesUnitReceived?(result: LongLinesUnit, info: IntermediateResultExtraInfo): void;
+ onCornersUnitReceived?(result: CornersUnit, info: IntermediateResultExtraInfo): void;
+ onCandidateQuadEdgesUnitReceived?(result: CandidateQuadEdgesUnit, info: IntermediateResultExtraInfo): void;
+ onCandidateBarcodeZonesUnitReceived?(result: LocalizedBarcodesUnit, info: IntermediateResultExtraInfo): void;
+ onScaledUpBarcodeImageUnitReceived?(result: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+ onDeformationResistedBarcodeImageUnitReceived?(result: DeformationResistedBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+ onComplementedBarcodeImageUnitReceived?(result: ComplementedBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+ onRawTextLinesReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraInfo): void;
+ onLogicLinesReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo): void;
+}
+```
+
+| Name | Description |
+| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
+| [getObservationParameters()](#getobservationparameters) | Gets the observed parameters of the intermediate result receiver. |
+| [onTaskResultsReceived()](#ontaskresultsreceived) | Event triggered when task results are received. |
+| [onPredetectedRegionsReceived()](#onpredetectedregionsreceived) | Event triggered when pre-detected regions are received. |
+| [onLocalizedBarcodesReceived()](#onlocalizedbarcodesreceived) | Event triggered when localized barcodes are received. |
+| [onDecodedBarcodesReceived()](#ondecodedbarcodesreceived) | Event triggered when decoded barcodes are received. |
+| [onLocalizedTextLinesReceived()](#onlocalizedtextlinesreceived) | Event triggered when localized text lines are received. |
+| [onRecognizedTextLinesReceived()](#onrecognizedtextlinesreceived) | Event triggered when recognized text lines are received. |
+| [onDetectedQuadsReceived()](#ondetectedquadsreceived) | Event triggered when detected quads are received. |
+| [onNormalizedImagesReceived()](#onnormalizedimagesreceived) | Event triggered when normalized images are received. |
+| [onColourImageUnitReceived()](#oncolourimageunitreceived) | Event triggered when a colour image unit is received. |
+| [onScaledDownColourImageUnitReceived()](#onscaleddowncolourimageunitreceived) | Event triggered when a scaled-down colour image unit is received. |
+| [onGrayscaleImageUnitReceived()](#ongrayscaleimageunitreceived) | Event triggered when a grayscale image unit is received. |
+| [onTransformedGrayscaleImageUnitReceived()](#ontransformedgrayscaleimageunitreceived) | Event triggered when a transformed grayscale image unit is received. |
+| [onEnhancedGrayscaleImageUnitReceived()](#onenhancedgrayscaleimageunitreceived) | Event triggered when an enhanced grayscale image unit is received. |
+| [onBinaryImageUnitReceived()](#onbinaryimageunitreceived) | Event triggered when a binary image unit is received. |
+| [onTextureDetectionResultUnitReceived()](#ontexturedetectionresultunitreceived) | Event triggered when a texture detection result unit is received. |
+| [onTextureRemovedGrayscaleImageUnitReceived()](#ontextureremovedgrayscaleimageunitreceived) | Event triggered when a texture-removed grayscale image unit is received. |
+| [onTextureRemovedBinaryImageUnitReceived()](#ontextureremovedbinaryimageunitreceived) | Event triggered when a texture-removed binary image unit is received. |
+| [onContoursUnitReceived()](#oncontoursunitreceived) | Event triggered when a contours unit is received. |
+| [onLineSegmentsUnitReceived()](#onlinesegmentsunitreceived) | Event triggered when a line segments unit is received. |
+| [onTextZonesUnitReceived()](#ontextzonesunitreceived) | Event triggered when a text zones unit is received. |
+| [onTextRemovedBinaryImageUnitReceived()](#ontextremovedbinaryimageunitreceived) | Event triggered when a text-removed binary image unit is received. |
+| [onShortLinesUnitReceived()](#onshortlinesunitreceived) | Event triggered when a short lines unit is received. |
+| [onLongLinesUnitReceived()](#onlonglinesunitreceived) | Event triggered when a long lines unit is received. |
+| [onCornersUnitReceived()](#oncornersunitreceived) | Event triggered when a corners unit is received. |
+| [onCandidateQuadEdgesUnitReceived()](#oncandidatequadedgesunitreceived) | Event triggered when a candidate quad edges unit are detected. |
+| [onCandidateBarcodeZonesUnitReceived()](#oncandidatebarcodezonesunitreceived) | Event triggered when a candidate barcode zones unit are detected. |
+| [onScaledUpBarcodeImageUnitReceived()](#onscaledupbarcodeimageunitreceived) | Event triggered when a scaled-up barcode image unit is received. |
+| [onDeformationResistedBarcodeImageUnitReceived()](#ondeformationresistedbarcodeimageunitreceived) | Event triggered when a deformation-resisted barcode image unit is received. |
+| [onComplementedBarcodeImageUnitReceived()](#oncomplementedbarcodeimageunitreceived) | Event triggered when a complemented barcode image unit is received. |
+| [onRawTextLinesReceived()](#onrawtextlinesreceived) | Event triggered when a raw text line unit is received. |
+| [onLogicLinesReceived()](#onlogiclinesreceived) | Event triggered when a logic line unit is received. |
+
+## getObservationParameters
+
+Gets the observed parameters of the intermediate result receiver. Allowing for configuration of intermediate result observation.
+
+```typescript
+getObservationParameters(): ObservationParameters;
+```
+
+**Return Value**
+
+The observed parameters, of type `ObservationParameters`. The default parameters are to observe all intermediate result unit types and all tasks.
+
+**See Also**
+
+[ObservationParameters](../core/intermediate-results/observation-parameters.md)
+
+## onTaskResultsReceived
+
+Event triggered when task results are received.
+
+```typescript
+onTaskResultsReceived?(result: IntermediateResult, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The intermediate result from the task, of type `IntermediateResult`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[IntermediateResult](../core/intermediate-results/intermediate-result.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+[Image-Processing Tasks](https://www.dynamsoft.com/capture-vision/docs/core/architecture/image-processing/index.html)
+
+## onPredetectedRegionsReceived
+
+Event triggered when pre-detected regions are received.
+
+```typescript
+onPredetectedRegionsReceived?(result: PredetectedRegionsUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the pre-detected regions, of type `PredetectedRegionsUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[PredetectedRegionsUnit](../core/intermediate-results/predetected-regions-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onLocalizedBarcodesReceived
+
+Event triggered when localized barcodes are received.
+
+```typescript
+onLocalizedBarcodesReceived?(result: LocalizedBarcodesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the localized barcodes, of type `LocalizedBarcodesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[LocalizedBarcodesUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/localized-barcodes-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onDecodedBarcodesReceived
+
+Event triggered when decoded barcodes are received.
+
+```typescript
+onDecodedBarcodesReceived?(result: DecodedBarcodesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the decoded barcodes, of type `DecodedBarcodesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[DecodedBarcodesUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/decoded-barcodes-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onLocalizedTextLinesReceived
+
+Event triggered when localized text lines are received.
+
+```typescript
+onLocalizedTextLinesReceived?(result: LocalizedTextLinesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the localized text lines, of type `LocalizedTextLinesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[LocalizedTextLinesUnit](https://www.dynamsoft.com/label-recognition/docs/web/programming/javascript/api-reference/interfaces/localized-textlines-unit.html?lang=js)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onRecognizedTextLinesReceived
+
+Event triggered when recognized text lines are received.
+
+```typescript
+onRecognizedTextLinesReceived?(result: RecognizedTextLinesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the recognized text lines, of type `RecognizedTextLinesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[RecognizedTextLinesUnit](https://www.dynamsoft.com/label-recognition/docs/web/programming/javascript/api-reference/interfaces/recognized-textlines-unit.html?lang=js)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onDetectedQuadsReceived
+
+Event triggered when detected quads are received.
+
+```typescript
+onDetectedQuadsReceived?(result: DetectedQuadsUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the detected quads, of type `DetectedQuadsUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[DetectedQuadsUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/detected-quads-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onNormalizedImagesReceived
+
+Event triggered when normalized images are received.
+
+```typescript
+onNormalizedImagesReceived?(result: NormalizedImagesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the normalized images, of type `NormalizedImagesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[NormalizedImagesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/normalized-images-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onColourImageUnitReceived
+
+Event triggered when a colour image unit is received.
+
+```typescript
+onColourImageUnitReceived?(result: ColourImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the colour image, of type `ColourImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[ColourImageUnit](../core/intermediate-results/colour-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onScaledDownColourImageUnitReceived
+
+Event triggered when a scaled-down colour image unit is received.
+
+```typescript
+onScaledDownColourImageUnitReceived?(result: ScaledDownColourImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the scaled-down colour image, of type `ScaledDownColourImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[ScaledDownColourImageUnit](../core/intermediate-results/scaled-down-colour-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onGrayscaleImageUnitReceived
+
+Event triggered when a grayscale image unit is received.
+
+```typescript
+onGrayscaleImageUnitReceived?(result: GrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the grayscale image, of type `GrayscaleImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[GrayscaleImageUnit](../core/intermediate-results/grayscale-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onTransformedGrayscaleImageUnitReceived
+
+Event triggered when a transformed grayscale image unit is received.
+
+```typescript
+onTransformedGrayscaleImageUnitReceived?(result: TransformedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the transformed grayscale image, of type `TransformedGrayscaleImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[TransformedGrayscaleImageUnit](../core/intermediate-results/transformed-grayscale-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onEnhancedGrayscaleImageUnitReceived
+
+Event triggered when an enhanced grayscale image unit is received.
+
+```typescript
+onEnhancedGrayscaleImageUnitReceived?(result: EnhancedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the enhanced grayscale image, of type `EnhancedGrayscaleImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[EnhancedGrayscaleImageUnit](../core/intermediate-results/enhanced-grayscale-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onBinaryImageUnitReceived
+
+Event triggered when a binary image unit is received.
+
+```typescript
+onBinaryImageUnitReceived?(result: BinaryImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the binary image, of type `BinaryImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[BinaryImageUnit](../core/intermediate-results/binary-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onTextureDetectionResultUnitReceived
+
+Event triggered when a texture detection result unit is received.
+
+```typescript
+onTextureDetectionResultUnitReceived?(result: TextureDetectionResultUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the texture detection result, of type `TextureDetectionResultUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[TextureDetectionResultUnit](../core/intermediate-results/texture-detection-result-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onTextureRemovedGrayscaleImageUnitReceived
+
+Event triggered when a texture-removed grayscale image unit is received.
+
+```typescript
+onTextureRemovedGrayscaleImageUnitReceived?(result: TextureRemovedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the texture-removed grayscale image, of type `TextureRemovedGrayscaleImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[TextureRemovedGrayscaleImageUnit](../core/intermediate-results/texture-removed-grayscale-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onTextureRemovedBinaryImageUnitReceived
+
+Event triggered when a texture-removed binary image unit is received.
+
+```typescript
+onTextureRemovedBinaryImageUnitReceived?(result: TextureRemovedBinaryImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the texture-removed binary image, of type `TextureRemovedBinaryImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[TextureRemovedBinaryImageUnit](../core/intermediate-results/texture-removed-binary-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onContoursUnitReceived
+
+Event triggered when a contours unit is received.
+
+```typescript
+onContoursUnitReceived?(result: ContoursUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the contours, of type `ContoursUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[ContoursUnit](../core/intermediate-results/contours-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onLineSegmentsUnitReceived
+
+Event triggered when a line segments unit is received.
+
+```typescript
+onLineSegmentsUnitReceived?(result: LineSegmentsUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the line segments, of type `LineSegmentsUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[LineSegmentsUnit](../core/intermediate-results/line-segments-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onTextZonesUnitReceived
+
+Event triggered when a text zones unit is received.
+
+```typescript
+onTextZonesUnitReceived?(result: TextZonesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the text zones, of type `TextZonesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[TextZonesUnit](../core/intermediate-results/text-zones-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onTextRemovedBinaryImageUnitReceived
+
+Event triggered when a text-removed binary image unit is received.
+
+```typescript
+onTextRemovedBinaryImageUnitReceived?(result: TextRemovedBinaryImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the text-removed binary image, of type `TextRemovedBinaryImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[TextRemovedBinaryImageUnit](../core/intermediate-results/text-removed-binary-image-unit.md)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onShortLinesUnitReceived
+
+Event triggered when a short lines unit is received.
+
+```typescript
+onShortLinesUnitReceived?(result: ShortLinesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the short lines, of type `ShortLinesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[ShortLinesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/short-lines-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onLongLinesUnitReceived
+
+Event triggered when a long lines unit is received.
+
+```typescript
+onLongLinesUnitReceived?(result: LongLinesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the long lines, of type `LongLinesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[LongLinesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/long-lines-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onCornersUnitReceived
+
+Event triggered when a corners unit is received.
+
+```typescript
+onCornersUnitReceived?(result: CornersUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the corners, of type `CornersUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[CornersUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/corners-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onCandidateQuadEdgesUnitReceived
+
+Event triggered when candidate quad edges are detected.
+
+```typescript
+onCandidateQuadEdgesUnitReceived?(result: CandidateQuadEdgesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the candidate quad edges, of type `CandidateQuadEdgesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[CandidateQuadEdgesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/candidate-quad-edges-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onCandidateBarcodeZonesUnitReceived
+
+Event triggered when candidate barcode zones are detected.
+
+```typescript
+onCandidateBarcodeZonesUnitReceived?(result: CandidateBarcodeZonesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the candidate barcode zones, of type `CandidateBarcodeZonesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[CandidateBarcodeZonesUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/candidate-barcode-zones-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onScaledUpBarcodeImageUnitReceived
+
+Called when a scaled up barcode image unit is received.
+
+```typescript
+onScaledUpBarcodeImageUnitReceived?(result: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the scaled up barcode image, of type `ScaledUpBarcodeImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[ScaledUpBarcodeImageUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/scaled-up-barcode-image-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onDeformationResistedBarcodeImageUnitReceived
+
+Called when a deformation resisted barcode image unit is received.
+
+```typescript
+onDeformationResistedBarcodeImageUnitReceived?(result: DeformationResistedBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the deformation resisted barcode image, of type `DeformationResistedBarcodeImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[DeformationResistedBarcodeImageUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/deformation-resisted-barcode-image-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onComplementedBarcodeImageUnitReceived
+
+Called when a complemented barcode image unit is received.
+
+```typescript
+onComplementedBarcodeImageUnitReceived?(result: ComplementedBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the complemented barcode image, of type `ComplementedBarcodeImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[ComplementedBarcodeImageUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/complemented-barcode-image-unit.html)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onRawTextLinesReceived
+
+Called when a raw text line unit is received.
+
+```typescript
+onRawTextLinesReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the raw text line, of type `RawTextLinesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[RawTextLinesUnit](https://www.dynamsoft.com/label-recognition/docs/web/programming/javascript/api-reference/interfaces/raw-textlines-unit.html?lang=js)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onLogicLinesReceived
+
+Called when a logic line unit is received.
+
+```typescript
+onLogicLinesReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains the logic line, of type `LogicLinesUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[LogicLinesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/logic-lines-unit.html?lang=js)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver.md b/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver.md
index cf8268f..5ade43a 100644
--- a/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver.md
+++ b/programming/javascript/api-reference/capture-vision-router/intermediate-result-receiver.md
@@ -22,9 +22,9 @@ class IntermediateResultReceiver {
onLocalizedTextLinesReceived?(result: LocalizedTextLinesUnit, info: IntermediateResultExtraInfo): void;
onRecognizedTextLinesReceived?(result: RecognizedTextLinesUnit, info: IntermediateResultExtraInfo): void;
onDetectedQuadsReceived?(result: DetectedQuadsUnit, info: IntermediateResultExtraInfo): void;
- onNormalizedImagesReceived?(result: NormalizedImagesUnit, info: IntermediateResultExtraInfo): void;
+ onDeskewedImageReceived?(result: DeskewedImageUnit, info: IntermediateResultExtraInfo): void;
onColourImageUnitReceived?(result: ColourImageUnit, info: IntermediateResultExtraInfo): void;
- onScaledDownColourImageUnitReceived?(result: ScaledDownColourImageUnit, info: IntermediateResultExtraInfo): void;
+ onScaledColourImageUnitReceived?(result: ScaledColourImageUnit, info: IntermediateResultExtraInfo): void;
onGrayscaleImageUnitReceived?(result: GrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
onTransformedGrayscaleImageUnitReceived?(result: TransformedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
onEnhancedGrayscaleImageUnitReceived?(result: EnhancedGrayscaleImageUnit, info: IntermediateResultExtraInfo): void;
@@ -41,11 +41,13 @@ class IntermediateResultReceiver {
onCornersUnitReceived?(result: CornersUnit, info: IntermediateResultExtraInfo): void;
onCandidateQuadEdgesUnitReceived?(result: CandidateQuadEdgesUnit, info: IntermediateResultExtraInfo): void;
onCandidateBarcodeZonesUnitReceived?(result: LocalizedBarcodesUnit, info: IntermediateResultExtraInfo): void;
- onScaledUpBarcodeImageUnitReceived?(result: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+ onScaledBarcodeImageUnitReceived?(result: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
onDeformationResistedBarcodeImageUnitReceived?(result: DeformationResistedBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
onComplementedBarcodeImageUnitReceived?(result: ComplementedBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
- onRawTextLinesReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraInfo): void;
- onLogicLinesReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo): void;
+ OnRawTextLinesUnitReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraInfo): void;
+ onLogicLinesUnitReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo): void;
+ onEnhancedImageReceived?(result: EnhancedImageUnit, info: IntermediateResultExtraInfo): void;
+ OnTargetROIResultsReceived?(result: IntermediateResultUnit, info: IntermediateResultExtraInfo): void;
}
```
@@ -59,9 +61,9 @@ class IntermediateResultReceiver {
| [onLocalizedTextLinesReceived()](#onlocalizedtextlinesreceived) | Event triggered when localized text lines are received. |
| [onRecognizedTextLinesReceived()](#onrecognizedtextlinesreceived) | Event triggered when recognized text lines are received. |
| [onDetectedQuadsReceived()](#ondetectedquadsreceived) | Event triggered when detected quads are received. |
-| [onNormalizedImagesReceived()](#onnormalizedimagesreceived) | Event triggered when normalized images are received. |
+| [onDeskewedImageReceived()](#ondeskewedimagereceived) | Event triggered when deskewed image is received. |
| [onColourImageUnitReceived()](#oncolourimageunitreceived) | Event triggered when a colour image unit is received. |
-| [onScaledDownColourImageUnitReceived()](#onscaleddowncolourimageunitreceived) | Event triggered when a scaled-down colour image unit is received. |
+| [onScaledColourImageUnitReceived()](#onscaledcolourimageunitreceived) | Event triggered when a scaled colour image unit is received. |
| [onGrayscaleImageUnitReceived()](#ongrayscaleimageunitreceived) | Event triggered when a grayscale image unit is received. |
| [onTransformedGrayscaleImageUnitReceived()](#ontransformedgrayscaleimageunitreceived) | Event triggered when a transformed grayscale image unit is received. |
| [onEnhancedGrayscaleImageUnitReceived()](#onenhancedgrayscaleimageunitreceived) | Event triggered when an enhanced grayscale image unit is received. |
@@ -78,11 +80,13 @@ class IntermediateResultReceiver {
| [onCornersUnitReceived()](#oncornersunitreceived) | Event triggered when a corners unit is received. |
| [onCandidateQuadEdgesUnitReceived()](#oncandidatequadedgesunitreceived) | Event triggered when a candidate quad edges unit are detected. |
| [onCandidateBarcodeZonesUnitReceived()](#oncandidatebarcodezonesunitreceived) | Event triggered when a candidate barcode zones unit are detected. |
-| [onScaledUpBarcodeImageUnitReceived()](#onscaledupbarcodeimageunitreceived) | Event triggered when a scaled-up barcode image unit is received. |
+| [onScaledBarcodeImageUnitReceived()](#onscaledbarcodeimageunitreceived) | Event triggered when a scaled-up barcode image unit is received. |
| [onDeformationResistedBarcodeImageUnitReceived()](#ondeformationresistedbarcodeimageunitreceived) | Event triggered when a deformation-resisted barcode image unit is received. |
| [onComplementedBarcodeImageUnitReceived()](#oncomplementedbarcodeimageunitreceived) | Event triggered when a complemented barcode image unit is received. |
-| [onRawTextLinesReceived()](#onrawtextlinesreceived) | Event triggered when a raw text line unit is received. |
-| [onLogicLinesReceived()](#onlogiclinesreceived) | Event triggered when a logic line unit is received. |
+| [OnRawTextLinesUnitReceived()](#onrawtextlinesunitreceived) | Event triggered when a raw text line unit is received. |
+| [onLogicLinesUnitReceived()](#onlogiclinesunitreceived) | Event triggered when a logic line unit is received. |
+| [onEnhancedImageReceived()](#onenhancedimagereceived) | Event triggered when enhanced image is received. |
+| [OnTargetROIResultsReceived()](#ontargetroiresultsreceived) | Event triggered when all tasks for the target ROI are completed and the results are deduplicated. |
## getObservationParameters
@@ -242,23 +246,23 @@ onDetectedQuadsReceived?(result: DetectedQuadsUnit, info: IntermediateResultExtr
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
-## onNormalizedImagesReceived
+## onDeskewedImageReceived
-Event triggered when normalized images are received.
+Event triggered when deskewed image is received.
```typescript
-onNormalizedImagesReceived?(result: NormalizedImagesUnit, info: IntermediateResultExtraInfo): void;
+onDeskewedImageReceived?(result: DeskewedImageUnit, info: IntermediateResultExtraInfo): void;
```
**Parameters**
-`result`: The result unit that contains the normalized images, of type `NormalizedImagesUnit`.
+`result`: The result unit that contains the deskewed image, of type `DeskewedImageUnit`.
`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
**See Also**
-[NormalizedImagesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/normalized-images-unit.html)
+[DeskewedImageUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/deskewed-image-unit.html)
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
@@ -282,23 +286,23 @@ onColourImageUnitReceived?(result: ColourImageUnit, info: IntermediateResultExtr
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
-## onScaledDownColourImageUnitReceived
+## onScaledColourImageUnitReceived
-Event triggered when a scaled-down colour image unit is received.
+Event triggered when a scaled colour image unit is received.
```typescript
-onScaledDownColourImageUnitReceived?(result: ScaledDownColourImageUnit, info: IntermediateResultExtraInfo): void;
+onScaledColourImageUnitReceived?(result: ScaledColourImageUnit, info: IntermediateResultExtraInfo): void;
```
**Parameters**
-`result`: The result unit that contains the scaled-down colour image, of type `ScaledDownColourImageUnit`.
+`result`: The result unit that contains the scaled colour image, of type `ScaledColourImageUnit`.
`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
**See Also**
-[ScaledDownColourImageUnit](../core/intermediate-results/scaled-down-colour-image-unit.md)
+[ScaledDownColourImageUnit](../core/intermediate-results/scaled-colour-image-unit.md)
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
@@ -622,23 +626,23 @@ onCandidateBarcodeZonesUnitReceived?(result: CandidateBarcodeZonesUnit, info: In
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
-## onScaledUpBarcodeImageUnitReceived
+## onScaledBarcodeImageUnitReceived
-Called when a scaled up barcode image unit is received.
+Called when a scaled barcode image unit is received.
```typescript
-onScaledUpBarcodeImageUnitReceived?(result: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
+onScaledBarcodeImageUnitReceived?(result: ScaledBarcodeImageUnit, info: IntermediateResultExtraInfo): void;
```
**Parameters**
-`result`: The result unit that contains the scaled up barcode image, of type `ScaledUpBarcodeImageUnit`.
+`result`: The result unit that contains the scaled barcode image, of type `ScaledBarcodeImageUnit`.
`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
**See Also**
-[ScaledUpBarcodeImageUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/scaled-up-barcode-image-unit.html)
+[ScaledUpBarcodeImageUnit](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interfaces/scaled-barcode-image-unit.html)
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
@@ -682,12 +686,12 @@ onComplementedBarcodeImageUnitReceived?(result: ComplementedBarcodeImageUnit, in
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
-## onRawTextLinesReceived
+## OnRawTextLinesUnitReceived
Called when a raw text line unit is received.
```typescript
-onRawTextLinesReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraInfo): void;
+OnRawTextLinesUnitReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraInfo): void;
```
**Parameters**
@@ -702,12 +706,12 @@ onRawTextLinesReceived?(result: RawTextLinesUnit, info: IntermediateResultExtraI
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
-## onLogicLinesReceived
+## onLogicLinesUnitReceived
Called when a logic line unit is received.
```typescript
-onLogicLinesReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo): void;
+onLogicLinesUnitReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo): void;
```
**Parameters**
@@ -720,4 +724,44 @@ onLogicLinesReceived?(result: LogicLinesUnit, info: IntermediateResultExtraInfo)
[LogicLinesUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/logic-lines-unit.html?lang=js)
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## onEnhancedImageReceived
+
+Called when enhanced image is received.
+
+```typescript
+onEnhancedImageReceived?(result: EnhancedImageUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The result unit that contains enhanced image, of type `EnhancedImageUnit`.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[EnhancedImageUnit](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/api-reference/interfaces/enhanced-image-unit.html?lang=js)
+
+[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
+
+## OnTargetROIResultsReceived
+
+Called when all tasks for the target ROI are completed and the results are deduplicated.
+
+```typescript
+OnTargetROIResultsReceived?(result: IntermediateResultUnit, info: IntermediateResultExtraInfo): void;
+```
+
+**Parameters**
+
+`result`: The `IntermediateResult` object that contains the result.
+
+`info`: Additional information about the result, of type `IntermediateResultExtraInfo`.
+
+**See Also**
+
+[IntermediateResultUnit](../core/intermediate-results/intermediate-result-unit.md)
+
[IntermediateResultExtraInfo](../core/intermediate-results/intermediate-result-extra-info.md)
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/settings-v2.6.1000.md b/programming/javascript/api-reference/capture-vision-router/settings-v2.6.1000.md
new file mode 100644
index 0000000..744343b
--- /dev/null
+++ b/programming/javascript/api-reference/capture-vision-router/settings-v2.6.1000.md
@@ -0,0 +1,233 @@
+---
+layout: default-layout
+title: CaptureVisionRouter Settings - Dynamsoft Capture Vision JavaScript Edition API
+description: This page introduces APIs related to the Settings of CaptureVisionRouter of Dynamsoft Capture Vision JavaScript Edition.
+keywords: capture vision, router, Settings, api reference, javascript, js
+needAutoGenerateSidebar: true
+needGenerateH3Content: false
+noTitleIndex: true
+breadcrumbText: CVR JavaScript CaptureVisionRouter
+---
+
+# CaptureVisionRouter Settings
+
+| Name | Description |
+| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| [initSettings()](#initsettings) | Configures runtime settings using a provided JSON string, an object, or a URL pointing to an object, which contains settings for one or more `CaptureVisionTemplates`. |
+| [outputSettings()](#outputsettings) | Outputs a `CaptureVisionTemplate` specified by its name. |
+| [outputSettingsToFile](#outputsettingstofile) | Generates a Blob object or initiates a JSON file download containing the settings for the specified `CaptureVisionTemplate`. |
+| [getSimplifiedSettings()](#getsimplifiedsettings) | Retrieves a JSON object that contains simplified settings for the specified `CaptureVisionTemplate`. |
+| [getTemplateNames()](#gettemplatenames) | Retrieves the names of all the currently available templates. |
+| [updateSettings()](#updatesettings) | Updates the specified `CaptureVisionTemplate` with an updated `SimplifiedCaptureVisionSettings` object. |
+| [resetSettings()](#resetsettings) | Restores all runtime settings to their original default values. |
+
+
+## initSettings
+
+Configures runtime settings using a provided JSON string, an object, or a URL pointing to an object, which contains settings for one or more `CaptureVisionTemplates`.
+
+**Syntax**
+
+```typescript
+initSettings(settings: string | object): Promise;
+```
+
+**Parameters**
+
+`settings`: A JSON string, an object, or a URL pointing to an object that contains settings for one or more `CaptureVisionTemplates`.
+
+**Return value**
+
+A promise that resolves when the operation has completed. It provides an object that describes the result.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+const settings = {
+ "CaptureVisionTemplates": [
+ {
+ "Name": "ReadSingleBarcode",
+ "ImageROIProcessingNameArray": ["roi-read-single-barcode"]
+ }
+ ],
+ "TargetROIDefOptions": [
+ {
+ "Name": "roi-read-single-barcode",
+ "TaskSettingNameArray": ["task-read-single-barcode"]
+ }
+ ],
+ "BarcodeReaderTaskSettingOptions": [
+ {
+ "Name": "task-read-single-barcode"
+ }
+ ]
+};
+await router.initSettings(settings);
+
+// Later in the code, specify the name of the template to use (e.g., "ReadSingleBarcode" in the sample template).
+router.startCapturing("NAME-OF-TEMPLATE-TO-USE");
+```
+
+**See Also**
+
+[Structure of a Parameter Template File](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.html#structure-of-a-parameter-template-file)
+
+## outputSettings
+
+Returns an object that contains settings for the specified `CaptureVisionTemplate`.
+
+**Syntax**
+
+```typescript
+outputSettings(templateName: string): Promise;
+```
+
+**Parameters**
+
+`templateName`: specifies a `CaptureVisionTemplate` by its name. If passed "*", the returned object will contain all templates.
+
+**Return value**
+
+A promise that resolves with the object that contains settings for the specified template or all templates.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+const settings = await router.outputSettings("ReadSingleBarcode");
+console.log(settings);
+```
+
+## outputSettingsToFile
+
+Generates a Blob object or initiates a JSON file download containing the settings for the specified `CaptureVisionTemplate`.
+
+**Syntax**
+
+```typescript
+outputSettingsToFile(templateName: string, fileName: string, download?: boolean): Promise;
+```
+
+**Parameters**
+
+`templateName`: specifies a `CaptureVisionTemplate` by its name. If passed "*", the returned object will contain all templates.
+
+`fileName`: specifies the name of the file.
+
+`download`: boolean that specifies whether to initiates a JSON file download.
+
+**Return value**
+
+A promise that resolves with the Blob object that contains settings for the specified template or all templates.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+const settings = await router.outputSettingsToFile("ReadSingleBarcode", "read-single-file", true);
+console.log(settings);
+```
+
+## getSimplifiedSettings
+
+Retrieves a JSON object that contains simplified settings for the specified `CaptureVisionTemplate`.
+
+**Syntax**
+
+```typescript
+getSimplifiedSettings(templateName: string): Promise;
+```
+
+**Parameters**
+
+`templateName`: specifies a `CaptureVisionTemplate` by its name.
+
+**Return Value**
+
+A promise that resolves with a JSON object, of type `SimplifiedCaptureVisionSettings`, which represents the simplified settings for the specified template.
+
+> Remarks: If the settings of the specified template are too complex, we cannot create a SimplifiedCaptureVisionSettings, and as a result, it will return an error.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+settings = await router.getSimplifiedSettings("ReadSingleBarcode");
+```
+
+## getTemplateNames
+
+Retrieves the names of all the currently available templates.
+
+**Syntax**
+
+```typescript
+getTemplateNames(): Promise>;;
+```
+
+**Return Value**
+
+A promise that resolves with an array of string, which represents the names of currently available templates
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+let template_names = await router.getTemplateNames();
+```
+
+## updateSettings
+
+Updates the specified `CaptureVisionTemplate` with an updated `SimplifiedCaptureVisionSettings` object.
+
+**Syntax**
+
+```typescript
+updateSettings(templateName: string, settings: SimplifiedCaptureVisionSettings): Promise;
+```
+
+**Parameters**
+
+`templateName`: specifies a `CaptureVisionTemplate` by its name.
+
+`settings`: the `SimplifiedCaptureVisionSettings` object that contains updated settings.
+
+**Return value**
+
+A promise that resolves when the operation has completed. It provides an object that describes the result.
+
+**Code snippet**
+
+```javascript
+let settings = await router.getSimplifiedSettings("ReadSingleBarcode");
+settings.barcodeSettings.barcodeFormatIds =
+ Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
+await router.updateSettings("ReadSingleBarcode", settings);
+await router.startCapturing("ReadSingleBarcode");
+```
+
+## resetSettings
+
+Restores all runtime settings to their original default values.
+
+**Syntax**
+
+```typescript
+resetSettings(): Promise;
+```
+
+**Parameters**
+
+None
+
+**Return Value**
+
+A promise that resolves when the operation has completed. It provides an object that describes the result.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+await router.resetSettings();
+```
diff --git a/programming/javascript/api-reference/capture-vision-router/settings.md b/programming/javascript/api-reference/capture-vision-router/settings.md
index 39c1c18..2662079 100644
--- a/programming/javascript/api-reference/capture-vision-router/settings.md
+++ b/programming/javascript/api-reference/capture-vision-router/settings.md
@@ -64,6 +64,9 @@ const settings = {
]
};
await router.initSettings(settings);
+
+// Later in the code, specify the name of the template to use (e.g., "ReadSingleBarcode" in the sample template).
+router.startCapturing("NAME-OF-TEMPLATE-TO-USE");
```
**See Also**
@@ -77,13 +80,15 @@ Returns an object that contains settings for the specified `CaptureVisionTemplat
**Syntax**
```typescript
-outputSettings(templateName: string): Promise;
+outputSettings(templateName: string, includeDefaultValues?: boolean): Promise;
```
**Parameters**
`templateName`: specifies a `CaptureVisionTemplate` by its name. If passed "*", the returned object will contain all templates.
+`includeDefaultValues` (optional): Boolean that specifies whether to include default values the output. Default to False.
+
**Return value**
A promise that resolves with the object that contains settings for the specified template or all templates.
@@ -103,7 +108,7 @@ Generates a Blob object or initiates a JSON file download containing the setting
**Syntax**
```typescript
-outputSettingsToFile(templateName: string, fileName: string, download?: boolean): Promise;
+outputSettingsToFile(templateName: string, fileName: string, download?: boolean, includeDefaultValues?: boolean): Promise;
```
**Parameters**
@@ -112,7 +117,9 @@ outputSettingsToFile(templateName: string, fileName: string, download?: boolean)
`fileName`: specifies the name of the file.
-`download`: boolean that specifies whether to initiates a JSON file download.
+`download` (optional): boolean that specifies whether to initiates a JSON file download.
+
+`includeDefaultValues` (optional): Boolean that specifies whether to include default values the output. Default to False.
**Return value**
@@ -122,7 +129,7 @@ A promise that resolves with the Blob object that contains settings for the spec
```javascript
let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
-const settings = await router.outputSettingsToFile("ReadSingleBarcode", "read-single-file", true);
+const settings = await router.outputSettingsToFile("ReadSingleBarcode", "read-single-file", true, true);
console.log(settings);
```
diff --git a/programming/javascript/api-reference/core/basic-structures/captured-result-base.md b/programming/javascript/api-reference/core/basic-structures/captured-result-base.md
new file mode 100644
index 0000000..2bafc14
--- /dev/null
+++ b/programming/javascript/api-reference/core/basic-structures/captured-result-base.md
@@ -0,0 +1,39 @@
+---
+layout: default-layout
+title: Interface CapturedResultBase - Dynamsoft Core Module JS Edition API Reference
+description: This page shows the JS edition of the interface CapturedResultBase in Dynamsoft Core Module.
+keywords: captured result, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+ignore: true
+---
+
+# CapturedResultBase
+
+The `CapturedResultBase` interface describes the base structure of all captured result object returned by Dynamsoft Capture Vision Router.
+
+```typescript
+interface CapturedResultBase {
+ readonly errorCode: number;
+ readonly errorString: string;
+ readonly originalImageHashId: string;
+ readonly originalImageTag: Core.ImageTag;
+}
+```
+
+## errorCode
+
+Error code associated with the capture result.
+
+## errorString
+
+Error string providing details about the error.
+
+## originalImageHashId
+
+The hash ID of the original image.
+
+## originalImageTag
+
+The tag associated with the original image.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/basic-structures/ds-image-data.md b/programming/javascript/api-reference/core/basic-structures/ds-image-data.md
index 0fba1dd..282cdca 100644
--- a/programming/javascript/api-reference/core/basic-structures/ds-image-data.md
+++ b/programming/javascript/api-reference/core/basic-structures/ds-image-data.md
@@ -37,7 +37,7 @@ The pixel format of the image.
**See Also**
-[EnumImagePixelFormat](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/image-pixel-format.html?lang=js)
+[EnumImagePixelFormat]({{ site.dcvb_js_api }}enum-image-pixel-format.html?lang=js)
## height
diff --git a/programming/javascript/api-reference/core/basic-structures/ds-rect.md b/programming/javascript/api-reference/core/basic-structures/ds-rect.md
index c4de11b..ecb900c 100644
--- a/programming/javascript/api-reference/core/basic-structures/ds-rect.md
+++ b/programming/javascript/api-reference/core/basic-structures/ds-rect.md
@@ -20,7 +20,7 @@ interface DSRect {
right: number;
top: number;
bottom: number;
- isMeasuredInPercentage: boolean;
+ isMeasuredInPercentage?: boolean;
}
```
diff --git a/programming/javascript/api-reference/core/basic-structures/image-tag.md b/programming/javascript/api-reference/core/basic-structures/image-tag.md
index 5a68cd7..fd7d3cd 100644
--- a/programming/javascript/api-reference/core/basic-structures/image-tag.md
+++ b/programming/javascript/api-reference/core/basic-structures/image-tag.md
@@ -27,4 +27,4 @@ The unique identifier of the image.
The type of the image.
-[EnumImageTagType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/image-tag-type.html?lang=js)
+[EnumImageTagType]({{ site.dcvb_js_api }}enums-image-tag-type.html?lang=js)
diff --git a/programming/javascript/api-reference/core/basic-structures/quadrilateral-v2.6.1000.md b/programming/javascript/api-reference/core/basic-structures/quadrilateral-v2.6.1000.md
new file mode 100644
index 0000000..2a17ecc
--- /dev/null
+++ b/programming/javascript/api-reference/core/basic-structures/quadrilateral-v2.6.1000.md
@@ -0,0 +1,28 @@
+---
+layout: default-layout
+title: Interface Quadrilateral - Dynamsoft Core Module JS Edition API Reference
+description: This page shows the JS edition of the interface Quadrilateral in Dynamsoft Core Module.
+keywords: quadrilateral, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# Quadrilateral
+
+The `Quadrilateral` interface represents a quadrilateral defined by four [Points](./point.md).
+
+```typescript
+interface Quadrilateral {
+ points: [Point, Point, Point, Point];
+ area?: number;
+}
+```
+
+## points
+
+An array of four `Point` objects defining the vertices of the quadrilateral.
+
+## area
+
+The area of the quadrilateral.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/basic-structures/quadrilateral.md b/programming/javascript/api-reference/core/basic-structures/quadrilateral.md
index 2a17ecc..d85a7bb 100644
--- a/programming/javascript/api-reference/core/basic-structures/quadrilateral.md
+++ b/programming/javascript/api-reference/core/basic-structures/quadrilateral.md
@@ -16,6 +16,7 @@ The `Quadrilateral` interface represents a quadrilateral defined by four [Points
interface Quadrilateral {
points: [Point, Point, Point, Point];
area?: number;
+ boundingRect?: DSRect;
}
```
@@ -25,4 +26,8 @@ An array of four `Point` objects defining the vertices of the quadrilateral.
## area
-The area of the quadrilateral.
\ No newline at end of file
+The area of the quadrilateral.
+
+## boundingRect
+
+The bounding rectangle of the quadrilateral, in type of [DSRect](./ds-rect.md).
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/core-module-class-v2.6.1000.md b/programming/javascript/api-reference/core/core-module-class-v2.6.1000.md
new file mode 100644
index 0000000..08ed70e
--- /dev/null
+++ b/programming/javascript/api-reference/core/core-module-class-v2.6.1000.md
@@ -0,0 +1,247 @@
+---
+layout: default-layout
+title: API Reference Index - CoreModule Class in JavaScript
+description: This page introduces the API for the CoreModule Class.
+keywords: Core, CoreModule, api reference, javascript, js
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+
+# CoreModule Class
+
+The CoreModule class defines common functionality in the Core module.
+
+| Name | Description |
+| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
+| `static` [detectEnvironment()](#detectenvironment) | Detects and returns information about the current runtime environment. |
+| `static` [engineResourcePaths](#engineresourcepaths) | Configures the paths where the .wasm files and other necessary resources for modules are located. |
+| `static` [getVersion()](#getversion) | Returns the version of the Core module. |
+| `static` [isModuleLoaded()](#ismoduleloaded) | Returns whether the WebAssembly (.wasm) file for the specified module is successfully loaded. |
+| `static` [loadWasm()](#loadwasm) | Initiates the loading process for the .wasm file(s) corresponding to the specified module(s). |
+
+
+
+## detectEnvironment
+
+Detects and returns information about the current runtime environment.
+
+```typescript
+detectEnvironment(): Promise
+```
+
+**Return Value**
+
+A promise that resolves with the detected environment information (e.g., browser type and version, operating system, camera support, etc.).
+
+**Code snippet**
+
+```javascript
+await Dynamsoft.Core.CoreModule.detectEnvironment();
+// Example return value:
+// {"wasm":true,"worker":true,"getUserMedia":true,"camera":true,"browser":"Edge","version":119,"OS":"Windows"}
+```
+
+## engineResourcePaths
+
+Configures the paths where the .wasm files and other necessary resources for modules are located. It allows you to either return or set the paths that the system uses to find these resources.
+
+For resources loaded from popular CDNs like jsDelivr or UNPKG, the paths are automatically identified based on the JavaScript files referenced for these modules. Manual specification of these paths is necessary only in the following scenarios:
+
+1. When integrating the SDK within web frameworks such as Angular, React, or Vue.
+2. If you opt for a CDN different from the default choices.
+3. When you are serving the files on your own.
+
+
+```typescript
+static engineResourcePaths: {
+ /**
+ * Specifies the root directory in which all the modules are located
+ */
+ "rootDirectory"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-capture-vision-std module.
+ */
+ "std"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-image-processing module.
+ */
+ "dip"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-core module.
+ */
+ "core"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-license module.
+ */
+ "license"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-capture-vision-router module.
+ */
+ "cvr"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-utility module.
+ */
+ "utility"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-barcode-reader module.
+ */
+ "dbr"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-label-recognizer module.
+ */
+ "dlr"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-document-normalizer module.
+ */
+ "ddn"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-code-parser module.
+ */
+ "dcp"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-camera-enhancer module.
+ */
+ "dce"?: string;
+};
+```
+
+**Code snippet**
+
+```javascript
+// To specify the path for rootDirectory
+Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
+// To specify the paths for multiple modules:
+Dynamsoft.Core.CoreModule.engineResourcePaths = {
+ "std": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-capture-vision-std@1.0.0/dist/",
+ "dip": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-image-processing@2.0.20/dist/",
+ "core": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-core@3.0.20/dist/",
+ "license": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-license@3.0.20/dist/",
+ "cvr": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-capture-vision-router@2.0.20/dist/",
+ "utility": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-utility@1.0.20/dist/",
+ "dbr": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-barcode-reader@10.0.20/dist/"
+ "dlr": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-label-recognizer@3.0.20/dist/",
+ "ddn": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-document-normalizer@2.0.20/dist/"
+ "dcp": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-code-parser@2.0.20/dist/"
+};
+// To specify the path for only one module:
+Dynamsoft.Core.CoreModule.engineResourcePaths.dbr = "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-barcode-reader@10.0.20/dist/";
+```
+
+## getVersion
+
+Returns the version of the Core module.
+
+```typescript
+static getVersion(): string;
+```
+
+**Return Value**
+
+A string type representing the version.
+
+**Code snippet**
+
+```javascript
+const version = Dynamsoft.Core.CoreModule.getVersion();
+console.log(version);
+```
+
+## isModuleLoaded
+
+Returns whether the WebAssembly (.wasm) file for the specified module is successfully loaded.
+
+```typescript
+static isModuleLoaded(moduleName: string): boolean;
+```
+
+**Parameters**
+
+`moduleName`: specifies a module.
+
+**Return Value**
+
+Boolean indicating whether the .wasm file for the specified module is loaded.
+
+**Code snippet**
+
+```javascript
+if(Dynamsoft.Core.CoreModule.isModuleLoaded("cvr")){
+ console.log("cvr module is loaded!").
+}
+```
+
+## loadWasm
+
+Initiates the loading process for the .wasm file(s) corresponding to the specified module(s). If a module relies on other modules, the other modules will be loaded as well.
+
+```typescript
+static loadWasm(moduleNames: Array | string): Promise;
+```
+
+**Parameters**
+
+`moduleNames`: specifies one or multiple modules. Supported module names are "cvr", "core", "license", "std", "dip", "dbr", "dlr", "ddn".
+
+**Return Value**
+
+A promise that resolves when the resources have been successfully released. It does not provide any value upon resolution.
+
+**Code snippet**
+
+```javascript
+await Dynamsoft.Core.CoreModule.loadWasm("cvr");
+```
+
+
diff --git a/programming/javascript/api-reference/core/core-module-class.md b/programming/javascript/api-reference/core/core-module-class.md
index 08ed70e..cc38a79 100644
--- a/programming/javascript/api-reference/core/core-module-class.md
+++ b/programming/javascript/api-reference/core/core-module-class.md
@@ -7,7 +7,6 @@ needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
---
-
# CoreModule Class
@@ -56,21 +55,6 @@ For resources loaded from popular CDNs like jsDelivr or UNPKG, the paths are aut
2. If you opt for a CDN different from the default choices.
3. When you are serving the files on your own.
-
```typescript
static engineResourcePaths: {
/**
@@ -121,6 +105,18 @@ static engineResourcePaths: {
* Specifies the resource path for the dynamsoft-camera-enhancer module.
*/
"dce"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-capture-vision-data module.
+ */
+ "dcvData"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-capture-vision-bundle module.
+ */
+ "dcvBundle"?: string;
+ /**
+ * Specifies the resource path for the dynamsoft-barcode-reader-bundle module.
+ */
+ "dbrBundle"?: string;
};
```
@@ -131,19 +127,11 @@ static engineResourcePaths: {
Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
// To specify the paths for multiple modules:
Dynamsoft.Core.CoreModule.engineResourcePaths = {
- "std": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-capture-vision-std@1.0.0/dist/",
- "dip": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-image-processing@2.0.20/dist/",
- "core": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-core@3.0.20/dist/",
- "license": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-license@3.0.20/dist/",
- "cvr": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-capture-vision-router@2.0.20/dist/",
- "utility": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-utility@1.0.20/dist/",
- "dbr": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-barcode-reader@10.0.20/dist/"
- "dlr": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-label-recognizer@3.0.20/dist/",
- "ddn": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-document-normalizer@2.0.20/dist/"
- "dcp": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-code-parser@2.0.20/dist/"
+ "dbrBundle": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-barcode-reader-bundle@11.0.3000/dist/",
+ "dcvData": "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-capture-vision-data@1.0.0/dist/"
};
// To specify the path for only one module:
-Dynamsoft.Core.CoreModule.engineResourcePaths.dbr = "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-barcode-reader@10.0.20/dist/";
+Dynamsoft.Core.CoreModule.engineResourcePaths.dbrBundle = "https://[SPECIFY-THE-ROOT-DIRECTORY]/dynamsoft-barcode-reader-bundle@11.0.3000/dist/";
```
## getVersion
@@ -191,15 +179,15 @@ if(Dynamsoft.Core.CoreModule.isModuleLoaded("cvr")){
## loadWasm
-Initiates the loading process for the .wasm file(s) corresponding to the specified module(s). If a module relies on other modules, the other modules will be loaded as well.
+Initiates the loading process for the .wasm file(s).
```typescript
-static loadWasm(moduleNames: Array | string): Promise;
+static loadWasm(): Promise;
```
**Parameters**
-`moduleNames`: specifies one or multiple modules. Supported module names are "cvr", "core", "license", "std", "dip", "dbr", "dlr", "ddn".
+None.
**Return Value**
@@ -208,7 +196,7 @@ A promise that resolves when the resources have been successfully released. It d
**Code snippet**
```javascript
-await Dynamsoft.Core.CoreModule.loadWasm("cvr");
+await Dynamsoft.Core.CoreModule.loadWasm();
```
+* [CapturedResultItem](./basic-structures/captured-result-item.md)
+* [DSFile](./basic-structures/ds-file.md)
+* [DSImageData](./basic-structures/ds-image-data.md)
+* [ImageSourceErrorListener](./basic-structures/image-source-error-listener.md)
+* [ImageTag](./basic-structures/image-tag.md)
+* [OriginalImageResultItem](./basic-structures/original-image-result-item.md)
+* [TextZone](./intermediate-results/text-zone.md)
+* [Warning](./basic-structures/warning.md)
+
+
+
+
+### Intermediate Results
+
+* [BinaryImageUnit](./intermediate-results/binary-image-unit.md)
+* [ColourImageUnit](./intermediate-results/colour-image-unit.md)
+* [ContoursUnit](./intermediate-results/contours-unit.md)
+* [EnhancedGrayscaleImageUnit](./intermediate-results/enhanced-grayscale-image-unit.md)
+* [GrayscaleImageUnit](./intermediate-results/grayscale-image-unit.md)
+* [IntermediateResult](./intermediate-results/intermediate-result.md)
+* [IntermediateResultExtraInfo](./intermediate-results/intermediate-result-extra-info.md)
+* [IntermediateResultUnit](./intermediate-results/intermediate-result-unit.md)
+* [ObservationParameters](./intermediate-results/observation-parameters.md)
+* [LineSegmentsUnit](./intermediate-results/line-segments-unit.md)
+* [PredetectedRegionElement](./intermediate-results/predetected-region-element.md)
+* [PredetectedRegionsUnit](./intermediate-results/predetected-regions-unit.md)
+* [RegionObjectElement](./intermediate-results/region-object-element.md)
+* [ScaledDownColourImageUnit](./intermediate-results/scaled-down-colour-image-unit.md)
+* [TextRemovedBinaryImageUnit](./intermediate-results/text-removed-binary-image-unit.md)
+* [TextureDetectionResultUnit](./intermediate-results/texture-detection-result-unit.md)
+* [TextureRemovedBinaryImageUnit](./intermediate-results/texture-removed-binary-image-unit.md)
+* [TextureRemovedGrayscaleImageUnit](./intermediate-results/texture-removed-grayscale-image-unit.md)
+* [TextZonesUnit](./intermediate-results/text-zones-unit.md)
+* [TransformedGrayscaleImageUnit](./intermediate-results/transformed-grayscale-image-unit.md)
+
+## Enums
+
+The following are the basic enumerations often shared by more than one module:
+
+* [EnumBufferOverflowProtectionMode](./enum-buffer-overflow-protection-mode.md)
+* [EnumCapturedResultItemType](./enum-captured-result-item-type.md)
+* [EnumColourChannelUsageType](./enum-colour-channel-usage-type.md)
+* [EnumCornerType](./enum-corner-type.md)
+* [EnumCrossVerificationStatus](./enum-cross-verification-status.md)
+* [EnumErrorCode](./enum-error-code.md)
+* [EnumGrayscaleEnhancementMode](./enum-grayscale-enhancement-mode.md)
+* [EnumGrayscaleTransformationMode](./enum-grayscale-transformation-mode.md)
+* [EnumImagePixelFormat](./enum-image-pixel-format.md)
+* [EnumImageTagType](./enum-image-tag-type.md)
+* [EnumIntermediateResultUnitType](./enum-intermediate-result-unit-type.md)
+* [EnumRegionObjectElementType](./enum-region-object-element-type.md)
+* [EnumSectionType](./enum-section-type.md)
+
+
+
+
+
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/core-module.md b/programming/javascript/api-reference/core/core-module.md
index d38db4c..22675ed 100644
--- a/programming/javascript/api-reference/core/core-module.md
+++ b/programming/javascript/api-reference/core/core-module.md
@@ -71,6 +71,7 @@ The following are the basic interfaces often shared by more than one module:
### Basic Structures
+* [CapturedResultBase](./basic-structures/captured-result-base.md)
* [CapturedResultItem](./basic-structures/captured-result-item.md)
* [DSFile](./basic-structures/ds-file.md)
* [DSImageData](./basic-structures/ds-image-data.md)
@@ -98,7 +99,7 @@ The following are the basic interfaces often shared by more than one module:
* [PredetectedRegionElement](./intermediate-results/predetected-region-element.md)
* [PredetectedRegionsUnit](./intermediate-results/predetected-regions-unit.md)
* [RegionObjectElement](./intermediate-results/region-object-element.md)
-* [ScaledDownColourImageUnit](./intermediate-results/scaled-down-colour-image-unit.md)
+* [ScaledColourImageUnit](./intermediate-results/scaled-colour-image-unit.md)
* [TextRemovedBinaryImageUnit](./intermediate-results/text-removed-binary-image-unit.md)
* [TextureDetectionResultUnit](./intermediate-results/texture-detection-result-unit.md)
* [TextureRemovedBinaryImageUnit](./intermediate-results/texture-removed-binary-image-unit.md)
@@ -110,20 +111,23 @@ The following are the basic interfaces often shared by more than one module:
The following are the basic enumerations often shared by more than one module:
-* [EnumBufferOverflowProtectionMode]({{ site.dcvb_enums }}core/buffer-overflow-protection-mode.html?lang=js)
-* [EnumCapturedResultItemType]({{ site.dcvb_enums }}core/captured-result-item-type.html?lang=js)
-* [EnumColourChannelUsageType]({{ site.dcvb_enums }}core/colour-channel-usage-type.html?lang=js)
-* [EnumCornerType]({{ site.dcvb_enums }}core/corner-type.html?lang=js)
-* [EnumErrorCode]({{ site.dcvb_enums }}core/error-code.html?lang=js)
-* [EnumGrayscaleEnhancementMode]({{ site.dcvb_enums }}core/grayscale-enhancement-mode.html?lang=js)
-* [EnumGrayscaleTransformationMode]({{ site.dcvb_enums }}core/grayscale-transformation-mode.html?lang=js)
-* [EnumImagePixelFormat]({{ site.dcvb_enums }}core/image-pixel-format.html?lang=js)
-* [EnumImageTagType]({{ site.dcvb_enums }}core/image-tag-type.html?lang=js)
-* [EnumIntermediateResultUnitType]({{ site.dcvb_enums }}core/intermediate-result-unit-type.html?lang=js)
-* [EnumRegionObjectElementType]({{ site.dcvb_enums }}core/region-object-element-type.html?lang=js)
-* [EnumSectionType]({{ site.dcvb_enums }}core/section-type.html?lang=js)
-
-
-
-
-
\ No newline at end of file
+* [EnumBufferOverflowProtectionMode](./enum-buffer-overflow-protection-mode.md)
+* [EnumCapturedResultItemType](./enum-captured-result-item-type.md)
+* [EnumColourChannelUsageType](./enum-colour-channel-usage-type.md)
+* [EnumCornerType](./enum-corner-type.md)
+* [EnumCrossVerificationStatus](./enum-cross-verification-status.md)
+* [EnumErrorCode](./enum-error-code.md)
+* [EnumGrayscaleEnhancementMode](./enum-grayscale-enhancement-mode.md)
+* [EnumGrayscaleTransformationMode](./enum-grayscale-transformation-mode.md)
+* [EnumImageFileFormat](./enum-image-file-format.md)
+* [EnumImagePixelFormat](./enum-image-pixel-format.md)
+* [EnumImageTagType](./enum-image-tag-type.md)
+* [EnumIntermediateResultUnitType](./enum-intermediate-result-unit-type.md)
+* [EnumModuleName](./enum-module-name.md)
+* [EnumRegionObjectElementType](./enum-region-object-element-type.md)
+* [EnumSectionType](./enum-section-type.md)
+
+
+
+
+
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-buffer-overflow-protection-mode.md b/programming/javascript/api-reference/core/enum-buffer-overflow-protection-mode.md
new file mode 100644
index 0000000..d0c7a40
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-buffer-overflow-protection-mode.md
@@ -0,0 +1,28 @@
+---
+layout: default-layout
+title: BufferOverflowProtectionMode - Dynamsoft Core Enumerations
+description: The enumeration BufferOverflowProtectionMode of Dynamsoft Core describes the protection modes when the buffer of ImageSourceAdapter is overflow.
+keywords: Buffer overflow protection mode
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: BufferOverflowProtectionMode
+codeAutoHeight: true
+---
+
+# Enumeration BufferOverflowProtectionMode
+
+`BufferOverflowProtectionMode` describes the protection modes to manage situations when the `ImageSourceAdapter`'s buffer exceeds its capacity.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumBufferOverflowProtectionMode {
+ /** New images are blocked when the buffer is full.*/
+ BOPM_Block = 0,
+ /** New images are appended at the end, and oldest images are pushed out from the beginning if the buffer is full.*/
+ BOPM_Update = 1
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-captured-result-item-type-v2.6.1000.md b/programming/javascript/api-reference/core/enum-captured-result-item-type-v2.6.1000.md
new file mode 100644
index 0000000..3195947
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-captured-result-item-type-v2.6.1000.md
@@ -0,0 +1,54 @@
+---
+layout: default-layout
+title: CapturedResultItemType - Dynamsoft Core Enumerations
+description: The enumeration CapturedResultItemType of Dynamsoft Core describes all types of captured result item.
+keywords: Captured result types
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: CapturedResultItemType
+codeAutoHeight: true
+---
+
+# Enumeration CapturedResultItemType
+
+`CapturedResultItemType` defines the various categories of items that can be recognized and captured.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumCapturedResultItemType {
+ /**
+ * Represents an original image captured by the system.
+ * This type is used to identify the raw, unmodified image data directly obtained from the image source.
+ */
+ CRIT_ORIGINAL_IMAGE = 1,
+ /**
+ * Identifies a captured item as a barcode within the image.
+ * This type signifies that the item has been recognized as a barcode and contains data extracted from the barcode.
+ */
+ CRIT_BARCODE = 2,
+ /**
+ * Identifies a captured item as a line of text within the image.
+ * This type signifies that the item has been recognized as a line of text and contains the textual content.
+ */
+ CRIT_TEXT_LINE = 4,
+ /**
+ * Identifies a captured item as a quadrilateral detected within the image.
+ * This type is typically used for geometric shapes or areas of interest that have been identified, often in the context of document scanning.
+ */
+ CRIT_DETECTED_QUAD = 8,
+ /**
+ * Represents an image that has been processed and normalized based on the original image.
+ * Normalization may include adjustments such as deskewing, perspective correction, etc. to standardize the image presentation.
+ */
+ CRIT_NORMALIZED_IMAGE = 16,
+ /**
+ * Indicates a parsed result item.
+ * This type is used for items that have undergone further interpretation by Dynamsoft Code Parser, transforming raw data into a structured format.
+ */
+ CRIT_PARSE_RESULT = 32
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-captured-result-item-type.md b/programming/javascript/api-reference/core/enum-captured-result-item-type.md
new file mode 100644
index 0000000..402526d
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-captured-result-item-type.md
@@ -0,0 +1,59 @@
+---
+layout: default-layout
+title: CapturedResultItemType - Dynamsoft Core Enumerations
+description: The enumeration CapturedResultItemType of Dynamsoft Core describes all types of captured result item.
+keywords: Captured result types
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: CapturedResultItemType
+codeAutoHeight: true
+---
+
+# Enumeration CapturedResultItemType
+
+`CapturedResultItemType` defines the various categories of items that can be recognized and captured.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumCapturedResultItemType {
+ /**
+ * Represents an original image captured by the system.
+ * This type is used to identify the raw, unmodified image data directly obtained from the image source.
+ */
+ CRIT_ORIGINAL_IMAGE = 1,
+ /**
+ * Identifies a captured item as a barcode within the image.
+ * This type signifies that the item has been recognized as a barcode and contains data extracted from the barcode.
+ */
+ CRIT_BARCODE = 2,
+ /**
+ * Identifies a captured item as a line of text within the image.
+ * This type signifies that the item has been recognized as a line of text and contains the textual content.
+ */
+ CRIT_TEXT_LINE = 4,
+ /**
+ * Identifies a captured item as a quadrilateral detected within the image.
+ * This type is typically used for geometric shapes or areas of interest that have been identified, often in the context of document scanning.
+ */
+ CRIT_DETECTED_QUAD = 8,
+ /**
+ * Represents an image that has been processed and deskewed based on the original image.
+ * Deskewing may include adjustments such as perspective correction, etc. to standardize the image presentation.
+ */
+ CRIT_DESKEWED_IMAGE = 16,
+ /**
+ * Indicates a parsed result item.
+ * This type is used for items that have undergone further interpretation by Dynamsoft Code Parser, transforming raw data into a structured format.
+ */
+ CRIT_PARSE_RESULT = 32,
+ /**
+ * Indicates a enhanced image item.
+ * This type is used for items that have undergone post-processing, such as adjustments to brightness, contrast, color mode, etc.
+ */
+ CRIT_ENHANCED_IMAGE = 64
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-colour-channel-usage-type.md b/programming/javascript/api-reference/core/enum-colour-channel-usage-type.md
new file mode 100644
index 0000000..422d015
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-colour-channel-usage-type.md
@@ -0,0 +1,54 @@
+---
+layout: default-layout
+title: ColourChannelUsageType - Dynamsoft Core Enumerations
+description: The enumeration ColourChannelUsageType of Dynamsoft Core describes how the color channel is used in the image.
+keywords: Corner type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ColourChannelUsageType
+codeAutoHeight: true
+---
+
+# Enumeration ColourChannelUsageType
+
+`ColourChannelUsageType` enumerates the different ways color channels can be utilized in image processing. This allows for flexible image analysis and manipulation by specifying how color data should be handled.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumColourChannelUsageType {
+ /**
+ * Automatically determines how color channels are used.
+ * This option allows the SDK to choose the most appropriate channel usage mode dynamically.
+ */
+ CCUT_AUTO = 0,
+ /**
+ * Utilizes all available color channels in the image for processing.
+ * This mode is ideal for scenarios where full color information is necessary for accurate analysis or processing.
+ */
+ CCUT_FULL_CHANNEL = 1,
+ /**
+ * Processes images using only the Y (luminance) channel, specifically in NV21 format images.
+ * This mode is useful for operations that require analyzing the brightness or intensity of the image while ignoring color information.
+ */
+ CCUT_Y_CHANNEL_ONLY = 2,
+ /**
+ * Uses only the red color channel for processing in RGB images.
+ * This mode is useful for tasks that require analysis or manipulation based on the red component of the image.
+ */
+ CCUT_RGB_R_CHANNEL_ONLY = 3,
+ /**
+ * Uses only the green color channel for processing in RGB images.
+ * This mode is useful for tasks where the green component is most relevant.
+ */
+ CCUT_RGB_G_CHANNEL_ONLY = 4,
+ /**
+ * Uses only the blue color channel for processing in RGB images.
+ * This mode is useful for tasks where the blue component is of particular interest.
+ */
+ CCUT_RGB_B_CHANNEL_ONLY = 5
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-corner-type.md b/programming/javascript/api-reference/core/enum-corner-type.md
new file mode 100644
index 0000000..e4b387f
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-corner-type.md
@@ -0,0 +1,44 @@
+---
+layout: default-layout
+title: CornerType - Dynamsoft Core Enumerations
+description: The enumeration CornerType of Dynamsoft Core describes how the corner is formed by its sides.
+keywords: Corner type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: CornerType
+codeAutoHeight: true
+---
+
+# Enumeration CornerType
+
+`CornerType` categorizes the nature of a corner based on the intersection of its adjoining sides.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumCornerType {
+ /**
+ * Represents a corner formed by the standard intersection of two line segments at a point, creating a typical corner shape.
+ * This is the most common corner type, where the angle between the line segments can vary from acute to obtuse.
+ */
+ CT_NORMAL_INTERSECTED = 0,
+ /**
+ * Describes a corner where two line segments intersect in a T-shape.
+ * This occurs when one line segment terminates at the midpoint of another, creating three distinct angles.
+ */
+ CT_T_INTERSECTED = 1,
+ /**
+ * Characterizes a corner formed by two line segments intersecting each other in a cross shape.
+ * This configuration results in four angles and is commonly encountered in grid or lattice patterns.
+ */
+ CT_CROSS_INTERSECTED = 2,
+ /**
+ * Defines a scenario where two line segments do not physically intersect but conceptually form a corner.
+ * This can occur in virtual shapes or when the corner is implied by the continuation of lines beyond their endpoints.
+ */
+ CT_NOT_INTERSECTED = 3
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-cross-verification-status.md b/programming/javascript/api-reference/core/enum-cross-verification-status.md
new file mode 100644
index 0000000..f378d7b
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-cross-verification-status.md
@@ -0,0 +1,30 @@
+---
+layout: default-layout
+title: CrossVerificationStatus - Dynamsoft Core Enumerations
+description: The enumeration CrossVerificationStatus of Dynamsoft Core describes the status of the captured results.
+keywords: cross verification status
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: CrossVerificationStatus
+codeAutoHeight: true
+---
+
+# Enumeration CrossVerificationStatus
+
+`CrossVerificationStatus` describes the status of the captured results.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumCrossVerificationStatus {
+ /** The cross verification has not been performed yet. */
+ CVS_NOT_VERIFIED = 0,
+ /** The cross verification has been passed successfully. */
+ CVS_PASSED = 1,
+ /** The cross verification has failed. */
+ CVS_FAILED = 2
+ }
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-error-code-v2.6.1000.md b/programming/javascript/api-reference/core/enum-error-code-v2.6.1000.md
new file mode 100644
index 0000000..1387377
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-error-code-v2.6.1000.md
@@ -0,0 +1,217 @@
+---
+layout: default-layout
+title: ErrorCode - Dynamsoft Core Enumerations
+description: The enumeration ErrorCode of Dynamsoft Core describes all error codes.
+keywords: Error code
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ErrorCode
+codeAutoHeight: true
+---
+
+# Enumeration ErrorCode
+
+`ErrorCode` enumerates the specific error codes that the SDK may return, providing a systematic way to identify and handle errors encountered during its operation.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumErrorCode
+{
+ /** Operation completed successfully. */
+ EC_OK = 0,
+ // Common error codes range from -10000 to -19999
+ /** An unspecified error occurred. */
+ EC_UNKNOWN = -10000,
+ /** The system does not have enough memory to perform the requested operation. */
+ EC_NO_MEMORY = -10001,
+ /** A null pointer was encountered where a valid pointer was required. */
+ EC_NULL_POINTER = -10002,
+ /** The provided license is not valid. */
+ EC_LICENSE_INVALID = -10003,
+ /** The provided license has expired. */
+ EC_LICENSE_EXPIRED = -10004,
+ /** The specified file could not be found. */
+ EC_FILE_NOT_FOUND = -10005,
+ /** The file type is not supported for processing. */
+ EC_FILE_TYPE_NOT_SUPPORTED = -10006,
+ /** The image's bits per pixel (BPP) is not supported. */
+ EC_BPP_NOT_SUPPORTED = -10007,
+ /** The specified index is out of the valid range. */
+ EC_INDEX_INVALID = -10008,
+ /** The specified custom region value is invalid or out of range. */
+ EC_CUSTOM_REGION_INVALID = -10010,
+ /** Failed to read the image due to an error in accessing or interpreting the image data. */
+ EC_IMAGE_READ_FAILED = -10012,
+ /** Failed to read a TIFF image, possibly due to corruption or unsupported format. */
+ EC_TIFF_READ_FAILED = -10013,
+ /** The provided DIB (Device-Independent Bitmaps) buffer is invalid or corrupted. */
+ EC_DIB_BUFFER_INVALID = -10018,
+ /** Failed to read a PDF image, possibly due to corruption or unsupported format. */
+ EC_PDF_READ_FAILED = -10021,
+ /** Required PDF processing DLL is missing. */
+ EC_PDF_DLL_MISSING = -10022,
+ /** The specified page number is invalid or out of bounds for the document. */
+ EC_PAGE_NUMBER_INVALID = -10023,
+ /** The specified custom size is invalid or not supported. */
+ EC_CUSTOM_SIZE_INVALID = -10024,
+ /** The operation timed out. */
+ EC_TIMEOUT = -10026,
+ /** Failed to parse JSON input. */
+ EC_JSON_PARSE_FAILED = -10030,
+ /** The JSON type is invalid for the expected context. */
+ EC_JSON_TYPE_INVALID = -10031,
+ /** The JSON key is invalid or unrecognized in the current context. */
+ EC_JSON_KEY_INVALID = -10032,
+ /** The JSON value is invalid for the specified key. */
+ EC_JSON_VALUE_INVALID = -10033,
+ /** The required "Name" key is missing in the JSON data. */
+ EC_JSON_NAME_KEY_MISSING = -10034,
+ /** The value of the "Name" key is duplicated and conflicts with existing data. */
+ EC_JSON_NAME_VALUE_DUPLICATED = -10035,
+ /** The template name is invalid or does not match any known template. */
+ EC_TEMPLATE_NAME_INVALID = -10036,
+ /** The reference made by the "Name" key is invalid or points to nonexistent data. */
+ EC_JSON_NAME_REFERENCE_INVALID = -10037,
+ /** The parameter value provided is invalid or out of the expected range. */
+ EC_PARAMETER_VALUE_INVALID = -10038,
+ /** The domain of the current site does not match the domain bound to the current product key. */
+ EC_DOMAIN_NOT_MATCH = -10039,
+ /** The reserved information does not match the reserved info bound to the current product key. */
+ EC_RESERVED_INFO_NOT_MATCH = -10040,
+ /** The license key does not match the license content. */
+ EC_LICENSE_KEY_NOT_MATCH = -10043,
+ /** Failed to request the license content from the server. */
+ EC_REQUEST_FAILED = -10044,
+ /** Failed to initialize the license. */
+ EC_LICENSE_INIT_FAILED = -10045,
+ /** Error setting the mode's argument, indicating invalid or incompatible arguments. */
+ EC_SET_MODE_ARGUMENT_ERROR = -10051,
+ /** The license content is invalid or corrupted. */
+ EC_LICENSE_CONTENT_INVALID = -10052,
+ /** The license key is invalid or does not match any known valid keys. */
+ EC_LICENSE_KEY_INVALID = -10053,
+ /** The license key has reached its maximum allowed usage and has no remaining quota. */
+ EC_LICENSE_DEVICE_RUNS_OUT = -10054,
+ /** Failed to retrieve the mode's argument, possibly due to invalid state or configuration. */
+ EC_GET_MODE_ARGUMENT_ERROR = -10055,
+ /** The Intermediate Result Types (IRT) license is invalid or not present. */
+ EC_IRT_LICENSE_INVALID = -10056,
+ /** Failed to save the file, possibly due to permissions, space, or an invalid path. */
+ EC_FILE_SAVE_FAILED = -10058,
+ /** The specified stage type is invalid or not supported in the current context. */
+ EC_STAGE_TYPE_INVALID = -10059,
+ /** The specified image orientation is invalid or not supported. */
+ EC_IMAGE_ORIENTATION_INVALID = -10060,
+ /** Failed to convert complex template to simplified settings, indicating a configuration or compatibility issue. */
+ EC_CONVERT_COMPLEX_TEMPLATE_ERROR = -10061,
+ /** Rejecting function call while capturing is in progress, to prevent conflicts or data corruption. */
+ EC_CALL_REJECTED_WHEN_CAPTURING = -10062,
+ /** The specified image source was not found, indicating a missing or inaccessible input source. */
+ EC_NO_IMAGE_SOURCE = -10063,
+ /** Failed to read the directory, possibly due to permissions, non-existence, or other access issues. */
+ EC_READ_DIRECTORY_FAILED = -10064,
+ /** A required module (e.g., DynamsoftBarcodeReader, DynamsoftLabelRecognizer) was not found. */
+ EC_MODULE_NOT_FOUND = -10065,
+ /** The operation does not support multi-page files; use FileFetcher for processing such files. */
+ EC_MULTI_PAGES_NOT_SUPPORTED = -10066,
+ /** Indicates an attempt to write to a file that already exists, with overwriting explicitly disabled. This error suggests the need for either enabling overwriting or ensuring unique file names to avoid conflicts. */
+ EC_FILE_ALREADY_EXISTS = -10067,
+ /** The specified file path does not exist and could not be created. This error could be due to insufficient permissions, a read-only filesystem, or other environmental constraints preventing file creation. */
+ EC_CREATE_FILE_FAILED = -10068,
+ /** The input ImageData object contains invalid parameters. This could be due to incorrect data types, out-of-range values, or improperly formatted data being passed to a function expecting ImageData. */
+ EC_IMGAE_DATA_INVALID = -10069,
+ // DLS license error codes range from -20000 to -29999
+ /** Indicates no license is available or the license is not set. */
+ EC_NO_LICENSE = -20000,
+ /** The provided Handshake Code is invalid or does not match expected format. */
+ EC_HANDSHAKE_CODE_INVALID = -20001,
+ /** Encountered failures while attempting to read or write to the license buffer. */
+ EC_LICENSE_BUFFER_FAILED = -20002,
+ /** Synchronization with the license server failed, possibly due to network issues or server unavailability. */
+ EC_LICENSE_SYNC_FAILED = -20003,
+ /** The device attempting to use the license does not match the device specified in the license buffer. */
+ EC_DEVICE_NOT_MATCH = -20004,
+ /** Binding the device to the license failed, indicating possible issues with the license or device identifier. */
+ EC_BIND_DEVICE_FAILED = -20005,
+ /** The number of instances using the license exceeds the limit allowed by the license terms. */
+ EC_INSTANCE_COUNT_OVER_LIMIT = -20008,
+ /** InitLicenseFromDLS must be called before any SDK objects are created to ensure proper license initialization. */
+ EC_LICENSE_INIT_SEQUENCE_FAILED = -20009,
+ /** Indicates the license in use is a trial version with limited functionality or usage time. */
+ EC_TRIAL_LICENSE = -20010,
+ /** The system failed to reach the License Server, likely due to network connectivity issues. */
+ EC_FAILED_TO_REACH_DLS = -20200,
+ // DBR error codes range from -30000 to -39999
+ /** The specified barcode format is invalid or unsupported. */
+ EC_BARCODE_FORMAT_INVALID = -30009,
+ /** The license for decoding QR Codes is invalid or not present. */
+ EC_QR_LICENSE_INVALID = -30016,
+ /** The license for decoding 1D barcodes is invalid or not present. */
+ EC_1D_LICENSE_INVALID = -30017,
+ /** The license for decoding PDF417 barcodes is invalid or not present. */
+ EC_PDF417_LICENSE_INVALID = -30019,
+ /** The license for decoding DataMatrix barcodes is invalid or not present. */
+ EC_DATAMATRIX_LICENSE_INVALID = -30020,
+ /** The specified custom module size for barcode generation is invalid or outside acceptable limits. */
+ EC_CUSTOM_MODULESIZE_INVALID = -30025,
+ /** The license for decoding Aztec barcodes is invalid or not present. */
+ EC_AZTEC_LICENSE_INVALID = -30041,
+ /** The license for decoding Patchcode barcodes is invalid or not present. */
+ EC_PATCHCODE_LICENSE_INVALID = -30046,
+ /** The license for decoding postal code formats is invalid or not present. */
+ EC_POSTALCODE_LICENSE_INVALID = -30047,
+ /** The license for Direct Part Marking (DPM) decoding is invalid or not present. */
+ EC_DPM_LICENSE_INVALID = -30048,
+ /** A frame decoding thread is already running, indicating a concurrent operation conflict. */
+ EC_FRAME_DECODING_THREAD_EXISTS = -30049,
+ /** Stopping the frame decoding thread failed, indicating potential issues with thread management. */
+ EC_STOP_DECODING_THREAD_FAILED = -30050,
+ /** The license for decoding MaxiCode barcodes is invalid or not present. */
+ EC_MAXICODE_LICENSE_INVALID = -30057,
+ /** The license for decoding GS1 DataBar barcodes is invalid or not present. */
+ EC_GS1_DATABAR_LICENSE_INVALID = -30058,
+ /** The license for decoding GS1 Composite codes is invalid or not present. */
+ EC_GS1_COMPOSITE_LICENSE_INVALID = -30059,
+ /** The license for decoding DotCode barcodes is invalid or not present. */
+ EC_DOTCODE_LICENSE_INVALID = -30061,
+ /** The license for decoding Pharmacode barcodes is invalid or not present. */
+ EC_PHARMACODE_LICENSE_INVALID = -30062,
+ // DLR error codes range from -40000 to -49999
+ /** Indicates that the required character model file was not found, possibly due to incorrect paths or missing files. */
+ EC_CHARACTER_MODEL_FILE_NOT_FOUND = -40100,
+ // DDN error codes range from -50000 to -59999
+ /** The specified quadrilateral is invalid, potentially due to incorrect points or an unprocessable shape. */
+ EC_QUADRILATERAL_INVALID = -50057,
+ // Panorama error codes range from -70000 to -79999
+ /** The license for generating or processing panoramas is invalid or missing. */
+ EC_PANORAMA_LICENSE_INVALID = -70060,
+ // Reserved error codes range from -80000 to -89999
+ // DCP error codes range from -90000 to -99999
+ /** The specified resource path does not exist, indicating a missing directory or incorrect path specification. */
+ EC_RESOURCE_PATH_NOT_EXIST = -90001,
+ /** Failed to load the specified resource, which might be due to missing files, access rights, or other issues preventing loading. */
+ EC_RESOURCE_LOAD_FAILED = -90002,
+ /** The code specification required for processing was not found, indicating a missing or incorrect specification. */
+ EC_CODE_SPECIFICATION_NOT_FOUND = -90003,
+ /** The full code string provided is empty, indicating no data was provided for processing. */
+ EC_FULL_CODE_EMPTY = -90004,
+ /** Preprocessing the full code string failed, possibly due to invalid format, corruption, or unsupported features. */
+ EC_FULL_CODE_PREPROCESS_FAILED = -90005,
+ /** The license required for parsing South Africa Driver License data is invalid or not present. */
+ EC_ZA_DL_LICENSE_INVALID = -90006,
+ /** The license required for parsing North America DL/ID (AAMVA) data is invalid or not present. */
+ EC_AAMVA_DL_ID_LICENSE_INVALID = -90007,
+ /** The license required for parsing Aadhaar data is invalid or not present. */
+ EC_AADHAAR_LICENSE_INVALID = -90008,
+ /** The license required for parsing Machine Readable Travel Documents (MRTD) is invalid or not present. */
+ EC_MRTD_LICENSE_INVALID = -90009,
+ /** The license required for parsing Vehicle Identification Number (VIN) data is invalid or not present. */
+ EC_VIN_LICENSE_INVALID = -90010,
+ /** The license required for parsing customized code types is invalid or not present. */
+ EC_CUSTOMIZED_CODE_TYPE_LICENSE_INVALID = -90011
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-error-code.md b/programming/javascript/api-reference/core/enum-error-code.md
new file mode 100644
index 0000000..9cdd29f
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-error-code.md
@@ -0,0 +1,258 @@
+---
+layout: default-layout
+title: ErrorCode - Dynamsoft Core Enumerations
+description: The enumeration ErrorCode of Dynamsoft Core describes all error codes.
+keywords: Error code
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ErrorCode
+codeAutoHeight: true
+---
+
+# Enumeration ErrorCode
+
+`ErrorCode` enumerates the specific error codes that the SDK may return, providing a systematic way to identify and handle errors encountered during its operation.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumErrorCode {
+ /** Operation completed successfully. */
+ EC_OK = 0,
+ // Common error codes range from -10000 to -19999
+ /** An unspecified error occurred. */
+ EC_UNKNOWN = -10000,
+ /** The system does not have enough memory to perform the requested operation. */
+ EC_NO_MEMORY = -10001,
+ /** A null pointer was encountered where a valid pointer was required. */
+ EC_NULL_POINTER = -10002,
+ /** The provided license is not valid. */
+ EC_LICENSE_INVALID = -10003,
+ /** The provided license has expired. */
+ EC_LICENSE_EXPIRED = -10004,
+ /** The specified file could not be found. */
+ EC_FILE_NOT_FOUND = -10005,
+ /** The file type is not supported for processing. */
+ EC_FILE_TYPE_NOT_SUPPORTED = -10006,
+ /** The image's bits per pixel (BPP) is not supported. */
+ EC_BPP_NOT_SUPPORTED = -10007,
+ /** The specified index is out of the valid range. */
+ EC_INDEX_INVALID = -10008,
+ /** The specified custom region value is invalid or out of range. */
+ EC_CUSTOM_REGION_INVALID = -10010,
+ /** Failed to read the image due to an error in accessing or interpreting the image data. */
+ EC_IMAGE_READ_FAILED = -10012,
+ /** Failed to read a TIFF image, possibly due to corruption or unsupported format. */
+ EC_TIFF_READ_FAILED = -10013,
+ /** The provided DIB (Device-Independent Bitmaps) buffer is invalid or corrupted. */
+ EC_DIB_BUFFER_INVALID = -10018,
+ /** Failed to read a PDF image, possibly due to corruption or unsupported format. */
+ EC_PDF_READ_FAILED = -10021,
+ /** Required PDF processing DLL is missing. */
+ EC_PDF_DLL_MISSING = -10022,
+ /** The specified page number is invalid or out of bounds for the document. */
+ EC_PAGE_NUMBER_INVALID = -10023,
+ /** The specified custom size is invalid or not supported. */
+ EC_CUSTOM_SIZE_INVALID = -10024,
+ /** The operation timed out. */
+ EC_TIMEOUT = -10026,
+ /** Failed to parse JSON input. */
+ EC_JSON_PARSE_FAILED = -10030,
+ /** The JSON type is invalid for the expected context. */
+ EC_JSON_TYPE_INVALID = -10031,
+ /** The JSON key is invalid or unrecognized in the current context. */
+ EC_JSON_KEY_INVALID = -10032,
+ /** The JSON value is invalid for the specified key. */
+ EC_JSON_VALUE_INVALID = -10033,
+ /** The required "Name" key is missing in the JSON data. */
+ EC_JSON_NAME_KEY_MISSING = -10034,
+ /** The value of the "Name" key is duplicated and conflicts with existing data. */
+ EC_JSON_NAME_VALUE_DUPLICATED = -10035,
+ /** The template name is invalid or does not match any known template. */
+ EC_TEMPLATE_NAME_INVALID = -10036,
+ /** The reference made by the "Name" key is invalid or points to nonexistent data. */
+ EC_JSON_NAME_REFERENCE_INVALID = -10037,
+ /** The parameter value provided is invalid or out of the expected range. */
+ EC_PARAMETER_VALUE_INVALID = -10038,
+ /** The domain of the current site does not match the domain bound to the current product key. */
+ EC_DOMAIN_NOT_MATCH = -10039,
+ /** The reserved information does not match the reserved info bound to the current product key. */
+ EC_RESERVED_INFO_NOT_MATCH = -10040,
+ /** The license key does not match the license content. */
+ EC_LICENSE_KEY_NOT_MATCH = -10043,
+ /** Failed to request the license content from the server. */
+ EC_REQUEST_FAILED = -10044,
+ /** Failed to initialize the license. */
+ EC_LICENSE_INIT_FAILED = -10045,
+ /** Error setting the mode's argument, indicating invalid or incompatible arguments. */
+ EC_SET_MODE_ARGUMENT_ERROR = -10051,
+ /** The license content is invalid or corrupted. */
+ EC_LICENSE_CONTENT_INVALID = -10052,
+ /** The license key is invalid or does not match any known valid keys. */
+ EC_LICENSE_KEY_INVALID = -10053,
+ /** The license key has reached its maximum allowed usage and has no remaining quota. */
+ EC_LICENSE_DEVICE_RUNS_OUT = -10054,
+ /** Failed to retrieve the mode's argument, possibly due to invalid state or configuration. */
+ EC_GET_MODE_ARGUMENT_ERROR = -10055,
+ /** The Intermediate Result Types (IRT) license is invalid or not present. */
+ EC_IRT_LICENSE_INVALID = -10056,
+ /** Failed to save the file, possibly due to permissions, space, or an invalid path. */
+ EC_FILE_SAVE_FAILED = -10058,
+ /** The specified stage type is invalid or not supported in the current context. */
+ EC_STAGE_TYPE_INVALID = -10059,
+ /** The specified image orientation is invalid or not supported. */
+ EC_IMAGE_ORIENTATION_INVALID = -10060,
+ /** Failed to convert complex template to simplified settings, indicating a configuration or compatibility issue. */
+ EC_CONVERT_COMPLEX_TEMPLATE_ERROR = -10061,
+ /** Rejecting function call while capturing is in progress, to prevent conflicts or data corruption. */
+ EC_CALL_REJECTED_WHEN_CAPTURING = -10062,
+ /** The specified image source was not found, indicating a missing or inaccessible input source. */
+ EC_NO_IMAGE_SOURCE = -10063,
+ /** Failed to read the directory, possibly due to permissions, non-existence, or other access issues. */
+ EC_READ_DIRECTORY_FAILED = -10064,
+ /** A required module (e.g., DynamsoftBarcodeReader, DynamsoftLabelRecognizer) was not found. */
+ EC_MODULE_NOT_FOUND = -10065,
+ /** The api does not support multi-page files. Please use CaptureMultiPages instead. */
+ EC_MULTI_PAGES_NOT_SUPPORTED = -10066,
+ /** Indicates an attempt to write to a file that already exists, with overwriting explicitly disabled. This error suggests the need for either enabling overwriting or ensuring unique file names to avoid conflicts. */
+ EC_FILE_ALREADY_EXISTS = -10067,
+ /** The specified file path does not exist and could not be created. This error could be due to insufficient permissions, a read-only filesystem, or other environmental constraints preventing file creation. */
+ EC_CREATE_FILE_FAILED = -10068,
+ /** The input ImageData object contains invalid parameters. This could be due to incorrect data types, out-of-range values, or improperly formatted data being passed to a function expecting ImageData. */
+ EC_IMGAE_DATA_INVALID = -10069,
+ /** The size of the input image does not meet the requirements. */
+ EC_IMAGE_SIZE_NOT_MATCH = -10070,
+ /** The pixel format of the input image does not meet the requirements. */
+ EC_IMAGE_PIXEL_FORMAT_NOT_MATCH = -10071,
+ /** The section level result is irreplaceable. */
+ EC_SECTION_LEVEL_RESULT_IRREPLACEABLE = -10072,
+ /** Incorrect axis definition. */
+ EC_AXIS_DEFINITION_INCORRECT = -10073,
+ /**The result is not replaceable due to type mismatch*/
+ EC_RESULT_TYPE_MISMATCH_IRREPLACEABLE = -10074,
+ /**Failed to load the PDF library.*/
+ EC_PDF_LIBRARY_LOAD_FAILED = -10075,
+ /**The license is initialized successfully but detected invalid content in your key.*/
+ EC_LICENSE_WARNING = -10076,
+ /**One or more unsupported JSON keys were encountered and ignored from the template.*/
+ EC_UNSUPPORTED_JSON_KEY_WARNING = -10077,
+ /**Model file is not found*/
+ EC_MODEL_FILE_NOT_FOUND = -10078,
+ /**[PDF] No license found.*/
+ EC_PDF_LICENSE_NOT_FOUND = -10079,
+ /**The rectangle is invalid.*/
+ EC_RECT_INVALID = -10080,
+
+ // DLS license error codes range from -20000 to -29999
+ /** Indicates no license is available or the license is not set. */
+ EC_NO_LICENSE = -20000,
+ /** The provided Handshake Code is invalid or does not match expected format. */
+ EC_HANDSHAKE_CODE_INVALID = -20001,
+ /** Encountered failures while attempting to read or write to the license buffer. */
+ EC_LICENSE_BUFFER_FAILED = -20002,
+ /** Synchronization with the license server failed, possibly due to network issues or server unavailability. */
+ EC_LICENSE_SYNC_FAILED = -20003,
+ /** The device attempting to use the license does not match the device specified in the license buffer. */
+ EC_DEVICE_NOT_MATCH = -20004,
+ /** Binding the device to the license failed, indicating possible issues with the license or device identifier. */
+ EC_BIND_DEVICE_FAILED = -20005,
+ /** The number of instances using the license exceeds the limit allowed by the license terms. */
+ EC_INSTANCE_COUNT_OVER_LIMIT = -20008,
+ /** InitLicenseFromDLS must be called before any SDK objects are created to ensure proper license initialization. */
+ EC_LICENSE_INIT_SEQUENCE_FAILED = -20009,
+ /** Indicates the license in use is a trial version with limited functionality or usage time. */
+ EC_TRIAL_LICENSE = -20010,
+ /** The system failed to reach the License Server, likely due to network connectivity issues. */
+ EC_FAILED_TO_REACH_DLS = -20200,
+ /** Online license validation failed due to network issues. Using cached license information for validation.*/
+ EC_LICENSE_CACHE_USED = -20012,
+
+ // DBR error codes range from -30000 to -39999
+ /** The specified barcode format is invalid or unsupported. */
+ EC_BARCODE_FORMAT_INVALID = -30009,
+ /** The license for decoding QR Codes is invalid or not present. */
+ EC_QR_LICENSE_INVALID = -30016,
+ /** The license for decoding 1D barcodes is invalid or not present. */
+ EC_1D_LICENSE_INVALID = -30017,
+ /** The license for decoding PDF417 barcodes is invalid or not present. */
+ EC_PDF417_LICENSE_INVALID = -30019,
+ /** The license for decoding DataMatrix barcodes is invalid or not present. */
+ EC_DATAMATRIX_LICENSE_INVALID = -30020,
+ /** The specified custom module size for barcode generation is invalid or outside acceptable limits. */
+ EC_CUSTOM_MODULESIZE_INVALID = -30025,
+ /** The license for decoding Aztec barcodes is invalid or not present. */
+ EC_AZTEC_LICENSE_INVALID = -30041,
+ /** The license for decoding Patchcode barcodes is invalid or not present. */
+ EC_PATCHCODE_LICENSE_INVALID = -30046,
+ /** The license for decoding postal code formats is invalid or not present. */
+ EC_POSTALCODE_LICENSE_INVALID = -30047,
+ /** The license for Direct Part Marking (DPM) decoding is invalid or not present. */
+ EC_DPM_LICENSE_INVALID = -30048,
+ /** A frame decoding thread is already running, indicating a concurrent operation conflict. */
+ EC_FRAME_DECODING_THREAD_EXISTS = -30049,
+ /** Stopping the frame decoding thread failed, indicating potential issues with thread management. */
+ EC_STOP_DECODING_THREAD_FAILED = -30050,
+ /** The license for decoding MaxiCode barcodes is invalid or not present. */
+ EC_MAXICODE_LICENSE_INVALID = -30057,
+ /** The license for decoding GS1 DataBar barcodes is invalid or not present. */
+ EC_GS1_DATABAR_LICENSE_INVALID = -30058,
+ /** The license for decoding GS1 Composite codes is invalid or not present. */
+ EC_GS1_COMPOSITE_LICENSE_INVALID = -30059,
+ /** The license for decoding DotCode barcodes is invalid or not present. */
+ EC_DOTCODE_LICENSE_INVALID = -30061,
+ /** The license for decoding Pharmacode barcodes is invalid or not present. */
+ EC_PHARMACODE_LICENSE_INVALID = -30062,
+ /** [Barcode Reader] No license found.*/
+ EC_BARCODE_READER_LICENSE_NOT_FOUND = -30063,
+
+ // DLR error codes range from -40000 to -49999
+ /** Indicates that the required character model file was not found, possibly due to incorrect paths or missing files. */
+ EC_CHARACTER_MODEL_FILE_NOT_FOUND = -40100,
+ /**There is a conflict in the layout of TextLineGroup. */
+ EC_TEXT_LINE_GROUP_LAYOUT_CONFLICT = -40101,
+ /**There is a conflict in the regex of TextLineGroup. */
+ EC_TEXT_LINE_GROUP_REGEX_CONFLICT = -40102,
+ /**[Label Recognizer] No license found.*/
+ EC_LABEL_RECOGNIZER_LICENSE_NOT_FOUND = -40103,
+
+ // DDN error codes range from -50000 to -59999
+ /** The specified quadrilateral is invalid, potentially due to incorrect points or an unprocessable shape. */
+ EC_QUADRILATERAL_INVALID = -50057,
+ /**[Document Normalizer] No license found.*/
+ EC_DOCUMENT_NORMALIZER_LICENSE_NOT_FOUND = -50058,
+
+ // Panorama error codes range from -70000 to -79999
+ /** The license for generating or processing panoramas is invalid or missing. */
+ EC_PANORAMA_LICENSE_INVALID = -70060,
+ // Reserved error codes range from -80000 to -89999
+
+ // DCP error codes range from -90000 to -99999
+ /** The specified resource path does not exist, indicating a missing directory or incorrect path specification. */
+ EC_RESOURCE_PATH_NOT_EXIST = -90001,
+ /** Failed to load the specified resource, which might be due to missing files, access rights, or other issues preventing loading. */
+ EC_RESOURCE_LOAD_FAILED = -90002,
+ /** The code specification required for processing was not found, indicating a missing or incorrect specification. */
+ EC_CODE_SPECIFICATION_NOT_FOUND = -90003,
+ /** The full code string provided is empty, indicating no data was provided for processing. */
+ EC_FULL_CODE_EMPTY = -90004,
+ /** Preprocessing the full code string failed, possibly due to invalid format, corruption, or unsupported features. */
+ EC_FULL_CODE_PREPROCESS_FAILED = -90005,
+ /** The license required for parsing South Africa Driver License data is invalid or not present. */
+ EC_ZA_DL_LICENSE_INVALID = -90006,
+ /** The license required for parsing North America DL/ID (AAMVA) data is invalid or not present. */
+ EC_AAMVA_DL_ID_LICENSE_INVALID = -90007,
+ /** The license required for parsing Aadhaar data is invalid or not present. */
+ EC_AADHAAR_LICENSE_INVALID = -90008,
+ /** The license required for parsing Machine Readable Travel Documents (MRTD) is invalid or not present. */
+ EC_MRTD_LICENSE_INVALID = -90009,
+ /** The license required for parsing Vehicle Identification Number (VIN) data is invalid or not present. */
+ EC_VIN_LICENSE_INVALID = -90010,
+ /** The license required for parsing customized code types is invalid or not present. */
+ EC_CUSTOMIZED_CODE_TYPE_LICENSE_INVALID = -90011,
+ /**[Code Parser] No license found.*/
+ EC_CODE_PARSER_LICENSE_NOT_FOUND = -90012
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-grayscale-enhancement-mode.md b/programming/javascript/api-reference/core/enum-grayscale-enhancement-mode.md
new file mode 100644
index 0000000..85ce442
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-grayscale-enhancement-mode.md
@@ -0,0 +1,64 @@
+---
+layout: default-layout
+title: GrayscaleEnhancementMode - Dynamsoft Core Enumerations
+description: The enumeration GrayscaleEnhancementMode of Dynamsoft Core describes all available grayscale enhancement modes.
+keywords: Grayscale enhancement modes
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: GrayscaleEnhancementMode
+codeAutoHeight: true
+---
+
+# Enumeration GrayscaleEnhancementMode
+
+`GrayscaleEnhancementMode` specifies the method employed to enhance images in grayscale.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumGrayscaleEnhancementMode
+{
+ /**
+ * Disables any grayscale image preprocessing. Selecting this mode skips the preprocessing step,
+ * passing the image through to subsequent operations without modification.
+ */
+ GEM_SKIP = 0,
+ /**
+ * Automatic selection of grayscale enhancement mode. Currently, not supported.
+ * Future implementations may automatically choose the most suitable enhancement based on image analysis.
+ */
+ GEM_AUTO = 1,
+ /**
+ * Uses the original, unprocessed image for subsequent operations. This mode is selected when no specific
+ * grayscale enhancement is required, maintaining the image in its natural state.
+ */
+ GEM_GENERAL = 2,
+ /**
+ * Applies a grayscale equalization algorithm to the image, enhancing contrast and detail in gray level.
+ * Suitable for images with poor contrast.
+ */
+ GEM_GRAY_EQUALIZE = 4,
+ /**
+ * Implements a grayscale smoothing algorithm to reduce noise and smooth the image.
+ * This can be beneficial for images with high levels of grain or noise.
+ */
+ GEM_GRAY_SMOOTH = 8,
+ /**
+ * Enhances the image by applying both sharpening and smoothing algorithms. This mode aims to increase
+ * clarity and detail while reducing noise, offering a balanced approach to image preprocessing.
+ */
+ GEM_SHARPEN_SMOOTH = 16,
+ /**
+ * Placeholder value with no functional meaning.
+ */
+ GEM_END = 0xFFFFFFFF,
+ /**
+ * Reserved for future use. This setting is part of the grayscale enhancement mode but is
+ * currently not defined for public use. It's reserved for internal development or future enhancements.
+ */
+ GEM_REV = -2147483648
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-grayscale-transformation-mode.md b/programming/javascript/api-reference/core/enum-grayscale-transformation-mode.md
new file mode 100644
index 0000000..d05b110
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-grayscale-transformation-mode.md
@@ -0,0 +1,55 @@
+---
+layout: default-layout
+title: GrayscaleTransformationMode - Dynamsoft Core Enumerations
+description: The enumeration GrayscaleTransformationMode of Dynamsoft Core describes all available grayscale transformation modes.
+keywords: Grayscale transformation modes
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: GrayscaleTransformationMode
+codeAutoHeight: true
+---
+
+# Enumeration GrayscaleTransformationMode
+
+`GrayscaleTransformationMode` specifies the method employed to transform images in grayscale.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumGrayscaleTransformationMode
+{
+ /**
+ * Bypasses grayscale transformation, leaving the image in its current state without any modification to its grayscale values.
+ * This mode is selected when no alteration of the grayscale data is desired, passing the image through to subsequent operations without modification.
+ */
+ GTM_SKIP = 0,
+ /**
+ * Applies an inversion to the grayscale values of the image, effectively transforming light elements to dark and vice versa.
+ * This mode is particularly useful for images with light text on dark backgrounds, enhancing visibility for further processing.
+ */
+ GTM_INVERTED = 1,
+ /**
+ * Maintains the original grayscale values of the image without any transformation. This mode is suited for images with
+ * dark elements on light backgrounds, ensuring the natural contrast and detail are preserved for subsequent analysis.
+ */
+ GTM_ORIGINAL = 2,
+ /**
+ * Delegates the choice of grayscale transformation to the library's algorithm, which automatically determines the most
+ * suitable transformation based on the image's characteristics. This mode is beneficial when the optimal transformation
+ * is not known in advance or varies across different images.
+ */
+ GTM_AUTO = 4,
+ /**
+ * Placeholder value with no functional meaning.
+ */
+ GEM_END = 0xFFFFFFFF,
+ /**
+ * Reserved for future expansion or internal use. This placeholder indicates a grayscale transformation mode that is
+ * not currently defined for public use but may be utilized for upcoming features or reserved for specific, undocumented adjustments.
+ */
+ GTM_REV = -2147483648
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-image-file-format.md b/programming/javascript/api-reference/core/enum-image-file-format.md
new file mode 100644
index 0000000..1374175
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-image-file-format.md
@@ -0,0 +1,32 @@
+---
+layout: default-layout
+title: ImageFileFormat - Dynamsoft Core Enumerations
+description: The enumeration ImageFileFormat of Dynamsoft Core describes the format of image files.
+keywords: Image pixel format
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ImageFileFormat
+codeAutoHeight: true
+---
+
+# Enumeration ImageFileFormat
+
+`ImageFileFormat` categorizes the possible formats of image files.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumImageFileFormat {
+ /** JPEG image format. */
+ IFF_JPEG = 0,
+ /** PNG image format. */
+ IFF_PNG = 1,
+ /** BMP (Bitmap) image format. */
+ IFF_BMP = 2,
+ /** PDF (Portable Document Format) format. */
+ IFF_PDF = 3
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-image-pixel-format.md b/programming/javascript/api-reference/core/enum-image-pixel-format.md
new file mode 100644
index 0000000..9470e9c
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-image-pixel-format.md
@@ -0,0 +1,54 @@
+---
+layout: default-layout
+title: ImagePixelFormat - Dynamsoft Core Enumerations
+description: The enumeration ImagePixelFormat of Dynamsoft Core describes all supported image pixel formats.
+keywords: Image pixel format
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ImagePixelFormat
+codeAutoHeight: true
+---
+
+# Enumeration ImagePixelFormat
+
+`ImagePixelFormat` defines the range of pixel formats that an image can have, specifying how color and transparency data are represented in each pixel of the image.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumImagePixelFormat {
+ /** 0:Black, 1:White. */
+ IPF_BINARY = 0,
+ /** 0:White, 1:Black. */
+ IPF_BINARYINVERTED = 1,
+ /** 8bit gray. */
+ IPF_GRAYSCALED = 2,
+ /** NV21. */
+ IPF_NV21 = 3,
+ /** 16bit with RGB channel order stored in memory from high to low address. */
+ IPF_RGB_565 = 4,
+ /** 16bit with RGB channel order stored in memory from high to low address. */
+ IPF_RGB_555 = 5,
+ /** 24bit with RGB channel order stored in memory from high to low address. */
+ IPF_RGB_888 = 6,
+ /** 32bit with ARGB channel order stored in memory from high to low address. */
+ IPF_ARGB_8888 = 7,
+ /** 48bit with RGB channel order stored in memory from high to low address. */
+ IPF_RGB_161616 = 8,
+ /** 64bit with ARGB channel order stored in memory from high to low address. */
+ IPF_ARGB_16161616 = 9,
+ /** 32bit with ABGR channel order stored in memory from high to low address. */
+ IPF_ABGR_8888 = 10,
+ /** 64bit with ABGR channel order stored in memory from high to low address. */
+ IPF_ABGR_16161616 = 11,
+ /** 24bit with BGR channel order stored in memory from high to low address. */
+ IPF_BGR_888 = 12,
+ /** 0:Black, 255:White. */
+ IPF_BINARY_8 = 13,
+ /**NV12 */
+ IPF_NV12 = 14
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-image-source-state.md b/programming/javascript/api-reference/core/enum-image-source-state.md
new file mode 100644
index 0000000..a962cee
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-image-source-state.md
@@ -0,0 +1,31 @@
+---
+layout: default-layout
+title: ImageSourceState - Dynamsoft Core Enumerations
+description: The enumeration ImageSourceState of Dynamsoft Core describes the state of ImageSourceAdapter.
+keywords: Image source state
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ImageSourceState
+codeAutoHeight: true
+ignore: true
+---
+
+
+# Enumeration ImageSourceState
+
+`ImageSourceState` describes the state of `ImageSourceAdapter`.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumImageSourceState
+{
+ /** The buffer of ImageSourceAdapter is temporarily empty. */
+ ISS_BUFFER_EMPTY = 0,
+ /** The source of ImageSourceAdapter is empty. */
+ ISS_EXHAUSTED = 1
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-image-tag-type.md b/programming/javascript/api-reference/core/enum-image-tag-type.md
new file mode 100644
index 0000000..f07dce7
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-image-tag-type.md
@@ -0,0 +1,29 @@
+---
+layout: default-layout
+title: ImageTagType - Dynamsoft Core Enumerations
+description: The enumeration ImageTagType of Dynamsoft Core describes the types of image tags.
+keywords: Image tag type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: ImageTagType
+codeAutoHeight: true
+---
+
+# Enumeration ImageTagType
+
+`ImageTagType` categorizes images based on their source, distinguishing between images extracted from video streams (video frame) and those loaded from static files (file image).
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumImageTagType
+{
+ /**Represents an image that has been sourced from a static file.*/
+ ITT_FILE_IMAGE = 0,
+ /**Indicates that the image is a frame extracted from a video stream.*/
+ ITT_VIDEO_FRAME = 1
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-intermediate-result-unit-type-v2.6.1000.md b/programming/javascript/api-reference/core/enum-intermediate-result-unit-type-v2.6.1000.md
new file mode 100644
index 0000000..6179ea3
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-intermediate-result-unit-type-v2.6.1000.md
@@ -0,0 +1,88 @@
+---
+layout: default-layout
+title: IntermediateResultUnitType - Dynamsoft Core Enumerations
+description: The enumeration IntermediateResultUnitType of Dynamsoft Core describes the type of the intermediate result unit.
+keywords: Intermediate result unit type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: IntermediateResultUnitType
+codeAutoHeight: true
+---
+
+# Enumeration IntermediateResultUnitType
+
+`IntermediateResultUnitType` defines different types of intermediate results generated or expected to be generated during image processing.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumIntermediateResultUnitType {
+ /** No intermediate result. */
+ IRUT_NULL = 0,
+ /** A full-color image. */
+ IRUT_COLOUR_IMAGE = 1,
+ /** A color image that has been scaled down for efficiency. */
+ IRUT_SCALED_DOWN_COLOUR_IMAGE = 1 << 1,
+ /** A grayscale image derived from the original input. */
+ IRUT_GRAYSCALE_IMAGE = 1 << 2,
+ /** A grayscale image that has undergone transformation. */
+ IRUT_TRANSOFORMED_GRAYSCALE_IMAGE = 1 << 3,
+ /** A grayscale image enhanced for further processing. */
+ IRUT_ENHANCED_GRAYSCALE_IMAGE = 1 << 4,
+ /** Regions pre-detected as potentially relevant for further analysis. */
+ IRUT_PREDETECTED_REGIONS = 1 << 5,
+ /** A binary (black and white) image. */
+ IRUT_BINARY_IMAGE = 1 << 6,
+ /** Results from detecting textures within the image. */
+ IRUT_TEXTURE_DETECTION_RESULT = 1 << 7,
+ /** A grayscale image with textures removed to enhance subject details like text or barcodes. */
+ IRUT_TEXTURE_REMOVED_GRAYSCALE_IMAGE = 1 << 8,
+ /** A binary image with textures removed, useful for clear detection of subjects without background noise. */
+ IRUT_TEXTURE_REMOVED_BINARY_IMAGE = 1 << 9,
+ /** Detected contours within the image, which can help in identifying shapes and objects. */
+ IRUT_CONTOURS = 1 << 10,
+ /** Detected line segments, useful in structural analysis of the image content. */
+ IRUT_LINE_SEGMENTS = 1 << 11,
+ /** Identified text zones, indicating areas with potential textual content. */
+ IRUT_TEXT_ZONES = 1 << 12,
+ /** A binary image with text regions removed. */
+ IRUT_TEXT_REMOVED_BINARY_IMAGE = 1 << 13,
+ /** Zones identified as potential barcode areas, aiding in focused barcode detection. */
+ IRUT_CANDIDATE_BARCODE_ZONES = 1 << 14,
+ /** Barcodes that have been localized but not yet decoded. */
+ IRUT_LOCALIZED_BARCODES = 1 << 15,
+ /** Barcode images scaled up for improved readability or decoding accuracy. */
+ IRUT_SCALED_UP_BARCODE_IMAGE = 1 << 16,
+ /** Images of barcodes processed to resist deformation and improve decoding success. */
+ IRUT_DEFORMATION_RESISTED_BARCODE_IMAGE = 1 << 17,
+ /** Barcode images that have been complemented. */
+ IRUT_COMPLEMENTED_BARCODE_IMAGE = 1 << 18,
+ /** Successfully decoded barcodes. */
+ IRUT_DECODED_BARCODES = 1 << 19,
+ /** Detected long lines. */
+ IRUT_LONG_LINES = 1 << 20,
+ /** Detected corners within the image. */
+ IRUT_CORNERS = 1 << 21,
+ /** Candidate edges identified as potential components of quadrilaterals. */
+ IRUT_CANDIDATE_QUAD_EDGES = 1 << 22,
+ /** Successfully detected quadrilaterals. */
+ IRUT_DETECTED_QUADS = 1 << 23,
+ /** Text lines that have been localized in preparation for recognition. */
+ IRUT_LOCALIZED_TEXT_LINES = 1 << 24,
+ /** Successfully recognized text lines. */
+ IRUT_RECOGNIZED_TEXT_LINES = 1 << 25,
+ /** Successfully normalized images. */
+ IRUT_NORMALIZED_IMAGES = 1 << 26,
+ /**Detected short lines.*/
+ IRUT_SHORT_LINES = 1 << 27,
+ /**grouped lines of text.*/
+ IRUT_TEXT_LINE_GROUPS = 1 << 28,
+ /** Detected logic lines. */
+ IRUT_LOGIC_LINES = 1 << 29,
+ /** A mask to select all types of intermediate results. */
+ IRUT_ALL = 0xFFFFFFFFFFFFFFFF
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-intermediate-result-unit-type.md b/programming/javascript/api-reference/core/enum-intermediate-result-unit-type.md
new file mode 100644
index 0000000..c01dfcb
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-intermediate-result-unit-type.md
@@ -0,0 +1,90 @@
+---
+layout: default-layout
+title: IntermediateResultUnitType - Dynamsoft Core Enumerations
+description: The enumeration IntermediateResultUnitType of Dynamsoft Core describes the type of the intermediate result unit.
+keywords: Intermediate result unit type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: IntermediateResultUnitType
+codeAutoHeight: true
+---
+
+# Enumeration IntermediateResultUnitType
+
+`IntermediateResultUnitType` defines different types of intermediate results generated or expected to be generated during image processing.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumIntermediateResultUnitType {
+ /** No intermediate result. */
+ IRUT_NULL = 0,
+ /** A full-color image. */
+ IRUT_COLOUR_IMAGE = 1,
+ /** A color image that has been scaled down for efficiency. */
+ IRUT_SCALED_COLOUR_IMAGE = 1 << 1,
+ /** A grayscale image derived from the original input. */
+ IRUT_GRAYSCALE_IMAGE = 1 << 2,
+ /** A grayscale image that has undergone transformation. */
+ IRUT_TRANSOFORMED_GRAYSCALE_IMAGE = 1 << 3,
+ /** A grayscale image enhanced for further processing. */
+ IRUT_ENHANCED_GRAYSCALE_IMAGE = 1 << 4,
+ /** Regions pre-detected as potentially relevant for further analysis. */
+ IRUT_PREDETECTED_REGIONS = 1 << 5,
+ /** A binary (black and white) image. */
+ IRUT_BINARY_IMAGE = 1 << 6,
+ /** Results from detecting textures within the image. */
+ IRUT_TEXTURE_DETECTION_RESULT = 1 << 7,
+ /** A grayscale image with textures removed to enhance subject details like text or barcodes. */
+ IRUT_TEXTURE_REMOVED_GRAYSCALE_IMAGE = 1 << 8,
+ /** A binary image with textures removed, useful for clear detection of subjects without background noise. */
+ IRUT_TEXTURE_REMOVED_BINARY_IMAGE = 1 << 9,
+ /** Detected contours within the image, which can help in identifying shapes and objects. */
+ IRUT_CONTOURS = 1 << 10,
+ /** Detected line segments, useful in structural analysis of the image content. */
+ IRUT_LINE_SEGMENTS = 1 << 11,
+ /** Identified text zones, indicating areas with potential textual content. */
+ IRUT_TEXT_ZONES = 1 << 12,
+ /** A binary image with text regions removed. */
+ IRUT_TEXT_REMOVED_BINARY_IMAGE = 1 << 13,
+ /** Zones identified as potential barcode areas, aiding in focused barcode detection. */
+ IRUT_CANDIDATE_BARCODE_ZONES = 1 << 14,
+ /** Barcodes that have been localized but not yet decoded. */
+ IRUT_LOCALIZED_BARCODES = 1 << 15,
+ /** Barcode images scaled up for improved readability or decoding accuracy. */
+ IRUT_SCALED_BARCODE_IMAGE = 1 << 16,
+ /** Images of barcodes processed to resist deformation and improve decoding success. */
+ IRUT_DEFORMATION_RESISTED_BARCODE_IMAGE = 1 << 17,
+ /** Barcode images that have been complemented. */
+ IRUT_COMPLEMENTED_BARCODE_IMAGE = 1 << 18,
+ /** Successfully decoded barcodes. */
+ IRUT_DECODED_BARCODES = 1 << 19,
+ /** Detected long lines. */
+ IRUT_LONG_LINES = 1 << 20,
+ /** Detected corners within the image. */
+ IRUT_CORNERS = 1 << 21,
+ /** Candidate edges identified as potential components of quadrilaterals. */
+ IRUT_CANDIDATE_QUAD_EDGES = 1 << 22,
+ /** Successfully detected quadrilaterals. */
+ IRUT_DETECTED_QUADS = 1 << 23,
+ /** Text lines that have been localized in preparation for recognition. */
+ IRUT_LOCALIZED_TEXT_LINES = 1 << 24,
+ /** Successfully recognized text lines. */
+ IRUT_RECOGNIZED_TEXT_LINES = 1 << 25,
+ /** Successfully deskewed images. */
+ IRUT_DESKEWED_IMAGE = 1 << 26,
+ /**Detected short lines.*/
+ IRUT_SHORT_LINES = 1 << 27,
+ /**grouped lines of text.*/
+ IRUT_TEXT_LINE_GROUPS = 1 << 28,
+ /** Detected logic lines. */
+ IRUT_LOGIC_LINES = 1 << 29,
+ /** Enhanced images. */
+ IRUT_ENHANCED_IMAGE = 1LL << 30,
+ /** A mask to select all types of intermediate results. */
+ IRUT_ALL = 0xFFFFFFFFFFFFFFFF
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-module-name.md b/programming/javascript/api-reference/core/enum-module-name.md
new file mode 100644
index 0000000..ea45d59
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-module-name.md
@@ -0,0 +1,38 @@
+---
+layout: default-layout
+title: EnumModuleName - Dynamsoft Core Enumerations
+description: The enumeration EnumModuleName of Dynamsoft Core describes the name of the sub SDK modules.
+keywords: Section type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: EnumModuleName
+codeAutoHeight: true
+---
+
+# Enumeration EnumModuleName
+
+`EnumModuleName` represents the names of Dynamsoft SDK sub modules. These identifiers are commonly used for module loading within the Dynamsoft Capture Vision ecosystem.
+
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumModuleName{
+ MN_DYNAMSOFT_CAPTURE_VISION_ROUTER = "cvr",
+ MN_DYNAMSOFT_CORE = "core",
+ MN_DYNAMSOFT_LICENSE = "license",
+ MN_DYNAMSOFT_IMAGE_PROCESSING = "dip",
+ MN_DYNAMSOFT_UTILITY = "utility",
+ MN_DYNAMSOFT_BARCODE_READER = "dbr",
+ MN_DYNAMSOFT_DOCUMENT_NORMALIZER = "ddn",
+ MN_DYNAMSOFT_LABEL_RECOGNIZER = "dlr",
+ MN_DYNAMSOFT_CAPTURE_VISION_DATA = "dcvData",
+ MN_DYNAMSOFT_NEURAL_NETWORK = "dnn",
+ MN_DYNAMSOFT_CODE_PARSER = "dcp",
+ MN_DYNAMSOFT_CAMERA_ENHANCER = "dce",
+ MN_DYNAMSOFT_CAPTURE_VISION_STD = "std"
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-pdf-reading-mode.md b/programming/javascript/api-reference/core/enum-pdf-reading-mode.md
new file mode 100644
index 0000000..3778314
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-pdf-reading-mode.md
@@ -0,0 +1,35 @@
+---
+layout: default-layout
+title: PDFReadingMode - Dynamsoft Core Enumerations
+description: The enumeration PDFReadingMode of Dynamsoft Core describes all available PDF reading modes.
+keywords: PDF Reading Mode
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: PDFReadingMode
+codeAutoHeight: true
+---
+
+# Enumeration PDFReadingMode
+
+`PDFReadingMode` describes the PDF reading modes.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumPDFReadingMode
+{
+ /** Outputs vector data found in the PDFs.*/
+ PDFRM_VECTOR = 1,
+ /** The default value.
+ * Outputs raster data found in the PDFs.
+ * Depending on the argument Resolution,
+ * the SDK may rasterize the PDF pages.
+ * Check the template for available argument settings.*/
+ PDFRM_RASTER = 2,
+ /** Reserved setting for PDF reading mode.*/
+ PDFRM_REV = -2147483648
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-region-object-element-type-v2.6.1000.md b/programming/javascript/api-reference/core/enum-region-object-element-type-v2.6.1000.md
new file mode 100644
index 0000000..768cc37
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-region-object-element-type-v2.6.1000.md
@@ -0,0 +1,41 @@
+---
+layout: default-layout
+title: RegionObjectElementType - Dynamsoft Core Enumerations
+description: The enumeration RegionObjectElementType of Dynamsoft Core describes the types of RegionObjectElement.
+keywords: Region object element type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: RegionObjectElementType
+codeAutoHeight: true
+---
+
+# Enumeration RegionObjectElementType
+
+`RegionObjectElementType` specifies the exact subclass type within the `RegionObjectElement` hierarchy. This enumeration facilitates the identification and differentiation of various processed elements in an image.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumRegionObjectElementType {
+ /**
+ * Corresponds to the `PredetectedRegionElement` subclass, representing areas within the image identified as potentially significant
+ * for further analysis before detailed processing.
+ */
+ ROET_PREDETECTED_REGION = 0,
+ /** Corresponds to the `LocalizedBarcodeElement` subclass, indicating areas where barcodes have been localized within the image.*/
+ ROET_LOCALIZED_BARCODE = 1,
+ /** Corresponds to the `DecodedBarcodeElement` subclass, signifying barcodes that have not only been localized but also successfully decoded. */
+ ROET_DECODED_BARCODE = 2,
+ /** Corresponds to the `LocalizedTextLineElement` subclass, indicating lines of text that have been localized within the image. */
+ ROET_LOCALIZED_TEXT_LINE = 3,
+ /** Corresponds to the `RecognizedTextLineElement` subclass, referring to text lines that have been recognized. */
+ ROET_RECOGNIZED_TEXT_LINE = 4,
+ /** Corresponds to the `DetectedQuadElement` subclass, representing quadrilateral shapes detected within the image. */
+ ROET_DETECTED_QUAD = 5,
+ /** Corresponds to the `NormalizedImageElement` subclass, referring to images that have been normalized. */
+ ROET_NORMALIZED_IMAGE = 6
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-region-object-element-type.md b/programming/javascript/api-reference/core/enum-region-object-element-type.md
new file mode 100644
index 0000000..9075ea0
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-region-object-element-type.md
@@ -0,0 +1,43 @@
+---
+layout: default-layout
+title: RegionObjectElementType - Dynamsoft Core Enumerations
+description: The enumeration RegionObjectElementType of Dynamsoft Core describes the types of RegionObjectElement.
+keywords: Region object element type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: RegionObjectElementType
+codeAutoHeight: true
+---
+
+# Enumeration RegionObjectElementType
+
+`RegionObjectElementType` specifies the exact subclass type within the `RegionObjectElement` hierarchy. This enumeration facilitates the identification and differentiation of various processed elements in an image.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumRegionObjectElementType {
+ /**
+ * Corresponds to the `PredetectedRegionElement` subclass, representing areas within the image identified as potentially significant
+ * for further analysis before detailed processing.
+ */
+ ROET_PREDETECTED_REGION = 0,
+ /** Corresponds to the `LocalizedBarcodeElement` subclass, indicating areas where barcodes have been localized within the image.*/
+ ROET_LOCALIZED_BARCODE = 1,
+ /** Corresponds to the `DecodedBarcodeElement` subclass, signifying barcodes that have not only been localized but also successfully decoded. */
+ ROET_DECODED_BARCODE = 2,
+ /** Corresponds to the `LocalizedTextLineElement` subclass, indicating lines of text that have been localized within the image. */
+ ROET_LOCALIZED_TEXT_LINE = 3,
+ /** Corresponds to the `RecognizedTextLineElement` subclass, referring to text lines that have been recognized. */
+ ROET_RECOGNIZED_TEXT_LINE = 4,
+ /** Corresponds to the `DetectedQuadElement` subclass, representing quadrilateral shapes detected within the image. */
+ ROET_DETECTED_QUAD = 5,
+ /** Corresponds to the `DeskewedImageElement` subclass, referring to images that have been deskewed. */
+ ROET_DESKEWED_IMAGE = 6,
+ /** Corresponds to the `EnhancedImageElement` subclass, referring to images that have been enhanced. */
+ ROET_ENHANCED_IMAGE = 7
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-section-type-v2.6.1000.md b/programming/javascript/api-reference/core/enum-section-type-v2.6.1000.md
new file mode 100644
index 0000000..0bcd43c
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-section-type-v2.6.1000.md
@@ -0,0 +1,41 @@
+---
+layout: default-layout
+title: SectionType - Dynamsoft Core Enumerations
+description: The enumeration SectionType of Dynamsoft Core describes the section of the algorithm.
+keywords: Section type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: SectionType
+codeAutoHeight: true
+---
+
+# Enumeration SectionType
+
+`SectionType` categorizes the distinct segments within the image processing algorithm, pinpointing the exact phase responsible for generating a specific `IntermediateResult`.
+
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumSectionType {
+ /** Indicates that no specific section type has been specified. */
+ ST_NULL = 0,
+ /** Corresponds to results generated in the "region prediction" section. */
+ ST_REGION_PREDETECTION = 1,
+ /** Corresponds to results generated in the "barcode localization" section. */
+ ST_BARCODE_LOCALIZATION = 2,
+ /** Corresponds to results generated in the "barcode decoding" section. */
+ ST_BARCODE_DECODING = 3,
+ /** Corresponds to results generated in the "text line localization" section. */
+ ST_TEXT_LINE_LOCALIZATION = 4,
+ /** Corresponds to results generated in the "text line recognition" section. */
+ ST_TEXT_LINE_RECOGNITION = 5,
+ /** Corresponds to results generated in the "document detection" section. */
+ ST_DOCUMENT_DETECTION = 6,
+ /** Corresponds to results generated in the "document normalization" section. */
+ ST_DOCUMENT_NORMALIZATION = 7
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-section-type.md b/programming/javascript/api-reference/core/enum-section-type.md
new file mode 100644
index 0000000..57d64d5
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-section-type.md
@@ -0,0 +1,43 @@
+---
+layout: default-layout
+title: SectionType - Dynamsoft Core Enumerations
+description: The enumeration SectionType of Dynamsoft Core describes the section of the algorithm.
+keywords: Section type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: SectionType
+codeAutoHeight: true
+---
+
+# Enumeration SectionType
+
+`SectionType` categorizes the distinct segments within the image processing algorithm, pinpointing the exact phase responsible for generating a specific `IntermediateResult`.
+
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumSectionType {
+ /** Indicates that no specific section type has been specified. */
+ ST_NULL = 0,
+ /** Corresponds to results generated in the "region prediction" section. */
+ ST_REGION_PREDETECTION = 1,
+ /** Corresponds to results generated in the "barcode localization" section. */
+ ST_BARCODE_LOCALIZATION = 2,
+ /** Corresponds to results generated in the "barcode decoding" section. */
+ ST_BARCODE_DECODING = 3,
+ /** Corresponds to results generated in the "text line localization" section. */
+ ST_TEXT_LINE_LOCALIZATION = 4,
+ /** Corresponds to results generated in the "text line recognition" section. */
+ ST_TEXT_LINE_RECOGNITION = 5,
+ /** Corresponds to results generated in the "document detection" section. */
+ ST_DOCUMENT_DETECTION = 6,
+ /** Corresponds to results generated in the "document deskewing" section. */
+ ST_DOCUMENT_DESKEWING = 7,
+ /** Corresponds to results generated in the "document enhancement" section. */
+ ST_IMAGE_ENHANCEMENT = 8
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/enum-target-type.md b/programming/javascript/api-reference/core/enum-target-type.md
new file mode 100644
index 0000000..11f28f2
--- /dev/null
+++ b/programming/javascript/api-reference/core/enum-target-type.md
@@ -0,0 +1,29 @@
+---
+layout: default-layout
+title: TargetType - Dynamsoft Core Enumerations
+description: The enumeration TargetType of Dynamsoft Core describes target types.
+keywords: Target type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: TargetType
+codeAutoHeight: true
+---
+
+# Enumeration TargetType
+
+`TargetType` describes the target types.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumTargetType
+{
+ /**The target type of the PDF file is "page". Only available for PDFReadingMode PDFRM_RASTER.*/
+ TT_PAGE = 0,
+ /**The target type of the PDF file is "image".*/
+ TT_IMAGE = 1
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/intermediate-results/intermediate-result-extra-info.md b/programming/javascript/api-reference/core/intermediate-results/intermediate-result-extra-info.md
index 0852103..8b21b5d 100644
--- a/programming/javascript/api-reference/core/intermediate-results/intermediate-result-extra-info.md
+++ b/programming/javascript/api-reference/core/intermediate-results/intermediate-result-extra-info.md
@@ -31,7 +31,7 @@ The type of section, if applicable, as defined by an enumeration.
**See Also**
-[EnumSectionType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/section-type.html?lang=js)
+[EnumSectionType]({{ site.dcvb_js_api }}enums-section-type.html?lang=js)
## targetROIDefName
diff --git a/programming/javascript/api-reference/core/intermediate-results/predetected-region-element-v2.6.1000.md b/programming/javascript/api-reference/core/intermediate-results/predetected-region-element-v2.6.1000.md
new file mode 100644
index 0000000..9f531c5
--- /dev/null
+++ b/programming/javascript/api-reference/core/intermediate-results/predetected-region-element-v2.6.1000.md
@@ -0,0 +1,23 @@
+---
+layout: default-layout
+title: Interface PredetectedRegionElement - Dynamsoft Core Module JS Edition API Reference
+description: This page shows the JS edition of the interfaace PredetectedRegionElement in Dynamsoft Core Module.
+keywords: line segments, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# PredetectedRegionElement
+
+The `PredetectedRegionElement` interface extends the `RegionObjectElement` interface and represents a pre-detected region element in an image.
+
+```typescript
+interface PredetectedRegionElement extends RegionObjectElement {
+ modeName: string;
+}
+```
+
+## modeName
+
+Gets the name of the detection mode used to detect this region element.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/intermediate-results/predetected-region-element.md b/programming/javascript/api-reference/core/intermediate-results/predetected-region-element.md
index 9f531c5..7a857df 100644
--- a/programming/javascript/api-reference/core/intermediate-results/predetected-region-element.md
+++ b/programming/javascript/api-reference/core/intermediate-results/predetected-region-element.md
@@ -15,9 +15,19 @@ The `PredetectedRegionElement` interface extends the `RegionObjectElement` inter
```typescript
interface PredetectedRegionElement extends RegionObjectElement {
modeName: string;
+ labelID: number;
+ labelName: string;
}
```
## modeName
-Gets the name of the detection mode used to detect this region element.
\ No newline at end of file
+The name of the detection mode used to detect this region element.
+
+## labelID
+
+The label id of the predetected region element.
+
+## labelName
+
+The label name of the predetected region element.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/intermediate-results/region-object-element.md b/programming/javascript/api-reference/core/intermediate-results/region-object-element.md
index a9c1716..150a2dc 100644
--- a/programming/javascript/api-reference/core/intermediate-results/region-object-element.md
+++ b/programming/javascript/api-reference/core/intermediate-results/region-object-element.md
@@ -26,7 +26,7 @@ The type of the region object element, defined by the enumeration `EnumRegionObj
**See Also**
-[EnumRegionObjectElementType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/region-object-element-type.html?lang=js)
+[EnumRegionObjectElementType]({{ site.dcvb_js_api }}enums-region-object-element-type.html?lang=js)
## location
diff --git a/programming/javascript/api-reference/core/intermediate-results/scaled-colour-image-unit.md b/programming/javascript/api-reference/core/intermediate-results/scaled-colour-image-unit.md
new file mode 100644
index 0000000..5d82381
--- /dev/null
+++ b/programming/javascript/api-reference/core/intermediate-results/scaled-colour-image-unit.md
@@ -0,0 +1,23 @@
+---
+layout: default-layout
+title: Interface ScaledColourImageUnit - Dynamsoft Core Module JS Edition API Reference
+description: This page shows the JS edition of the interface ScaledColourImageUnit in Dynamsoft Core Module.
+keywords: binary image, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# ScaledColourImageUnit
+
+The `ScaledColourImageUnit` interface extends the `IntermediateResultUnit` interface and represents a scaled colour image unit.
+
+```typescript
+interface ScaledColourImageUnit extends IntermediateResultUnit {
+ imageData: DSImageData;
+}
+```
+
+## imageData
+
+The image data for the scaled colour image.
diff --git a/programming/javascript/api-reference/enums-index-v2.6.1000.md b/programming/javascript/api-reference/enums-index-v2.6.1000.md
new file mode 100644
index 0000000..e3ea626
--- /dev/null
+++ b/programming/javascript/api-reference/enums-index-v2.6.1000.md
@@ -0,0 +1,39 @@
+---
+layout: default-layout
+title: Enumeration Index - Dynamsoft Capture Vision JavaScript Edition
+description: This is the index page for Dynamsoft Capture Vision Enumerations
+keywords: CaptureVision, Capture, api reference, javascript, js, enumerations
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+breadcrumbText: Enumeration Index
+---
+
+# Dynamsoft Capture Vision Enumerations
+
+* [BarcodeFormat]({{ site.enums }}barcode-reader/barcode-format.html?lang=js)
+* [BufferOverflowProtectionMode]({{ site.enums }}core/buffer-overflow-protection-mode.html?lang=js)
+* [CapturedResultItemType]({{ site.enums }}core/captured-result-item-type.html?lang=js)
+* [CaptureState]({{ site.enums }}capture-vision-router/capture-state.html?lang=js)
+* [CornerType]({{ site.enums }}core/corner-type.html?lang=js)
+* [DeblurMode]({{ site.enums }}barcode-reader/deblur-mode.html?lang=js)
+* [ErrorCode]({{ site.enums }}core/error-code.html?lang=js)
+* [ExtendedBarcodeResultType]({{ site.enums }}barcode-reader/extended-barcode-result-type.html?lang=js)
+* [GrayscaleTransformationMode]({{ site.enums }}core/grayscale-transformation-mode.html?lang=js)
+* [ImageCaptureDistanceMode]({{ site.enums }}core/image-capture-distance-mode.html?lang=js)
+* [ImagePixelFormat]({{ site.enums }}core/image-pixel-format.html?lang=js)
+* [ImageSourceState]({{ site.enums }}core/image-source-state.html?lang=js)
+* [ImageTagType]({{ site.enums }}core/image-tag-type.html?lang=js)
+* [IntermediateResultUnitType]({{ site.enums }}core/intermediate-result-unit-type.html?lang=js)
+* [LocalizationMode]({{ site.enums }}barcode-reader/localization-mode.html?lang=js)
+* [MappingStatus]({{ site.enums }}code-parser/mapping-status.html?lang=js)
+* [PDFReadingMode]({{ site.enums }}core/pdf-reading-mode.html?lang=js)
+* [PresetTemplate]({{ site.enums }}capture-vision-router/preset-template.html?lang=js)
+* [QRCodeErrorCorrectionLevel]({{ site.enums }}barcode-reader/qr-code-error-correction-level.html?lang=js)
+* [RawTextLineStatus]({{ site.enums }}label-recognizer/raw-text-line-status.html?lang=js)
+* [RegionObjectElementType]({{ site.enums }}core/region-object-element-type.html?lang=js)
+* [SectionType]({{ site.enums }}core/section-type.html?lang=js)
+* [TargetType]({{ site.enums }}core/target-type.html?lang=js)
+* [ValidationStatus]({{ site.enums }}code-parser/validation-status.html?lang=js)
+* [ColourChannelUsageType]({{ site.enums }}core/colour-channel-usage-type.html?lang=js)
+
diff --git a/programming/javascript/api-reference/enums-index.md b/programming/javascript/api-reference/enums-index.md
index e3ea626..40669e2 100644
--- a/programming/javascript/api-reference/enums-index.md
+++ b/programming/javascript/api-reference/enums-index.md
@@ -11,29 +11,30 @@ breadcrumbText: Enumeration Index
# Dynamsoft Capture Vision Enumerations
-* [BarcodeFormat]({{ site.enums }}barcode-reader/barcode-format.html?lang=js)
-* [BufferOverflowProtectionMode]({{ site.enums }}core/buffer-overflow-protection-mode.html?lang=js)
-* [CapturedResultItemType]({{ site.enums }}core/captured-result-item-type.html?lang=js)
-* [CaptureState]({{ site.enums }}capture-vision-router/capture-state.html?lang=js)
-* [CornerType]({{ site.enums }}core/corner-type.html?lang=js)
-* [DeblurMode]({{ site.enums }}barcode-reader/deblur-mode.html?lang=js)
-* [ErrorCode]({{ site.enums }}core/error-code.html?lang=js)
-* [ExtendedBarcodeResultType]({{ site.enums }}barcode-reader/extended-barcode-result-type.html?lang=js)
-* [GrayscaleTransformationMode]({{ site.enums }}core/grayscale-transformation-mode.html?lang=js)
-* [ImageCaptureDistanceMode]({{ site.enums }}core/image-capture-distance-mode.html?lang=js)
-* [ImagePixelFormat]({{ site.enums }}core/image-pixel-format.html?lang=js)
-* [ImageSourceState]({{ site.enums }}core/image-source-state.html?lang=js)
-* [ImageTagType]({{ site.enums }}core/image-tag-type.html?lang=js)
-* [IntermediateResultUnitType]({{ site.enums }}core/intermediate-result-unit-type.html?lang=js)
-* [LocalizationMode]({{ site.enums }}barcode-reader/localization-mode.html?lang=js)
-* [MappingStatus]({{ site.enums }}code-parser/mapping-status.html?lang=js)
-* [PDFReadingMode]({{ site.enums }}core/pdf-reading-mode.html?lang=js)
-* [PresetTemplate]({{ site.enums }}capture-vision-router/preset-template.html?lang=js)
-* [QRCodeErrorCorrectionLevel]({{ site.enums }}barcode-reader/qr-code-error-correction-level.html?lang=js)
-* [RawTextLineStatus]({{ site.enums }}label-recognizer/raw-text-line-status.html?lang=js)
-* [RegionObjectElementType]({{ site.enums }}core/region-object-element-type.html?lang=js)
-* [SectionType]({{ site.enums }}core/section-type.html?lang=js)
-* [TargetType]({{ site.enums }}core/target-type.html?lang=js)
-* [ValidationStatus]({{ site.enums }}code-parser/validation-status.html?lang=js)
-* [ColourChannelUsageType]({{ site.enums }}core/colour-channel-usage-type.html?lang=js)
-
+* [BarcodeFormat]({{ site.dbr_js }}api-reference/enum-barcode-format.html?lang=js)
+* [BufferOverflowProtectionMode]({{ site.dcvb_js_api }}core/enum-buffer-overflow-protection-mode.html?lang=js)
+* [CapturedResultItemType]({{ site.dcvb_js_api }}core/enum-captured-result-item-type.html?lang=js)
+* [CaptureState]({{ site.dcvb_js_api }}capture-vision-router/enum-capture-state.html?lang=js)
+* [CornerType]({{ site.dcvb_js_api }}core/enum-corner-type.html?lang=js)
+* [DeblurMode]({{ site.dbr_js }}api-reference/enum-deblur-mode.html?lang=js)
+* [ErrorCode]({{ site.dcvb_js_api }}core/enum-error-code.html?lang=js)
+* [ExtendedBarcodeResultType]({{ site.dbr_js }}api-reference/enum-extended-barcode-result-type.html?lang=js)
+* [FilterType]({{ site.dcvb_js_api }}utility/enum-filter-type.html?lang=js)
+* [GrayscaleTransformationMode]({{ site.dcvb_js_api }}core/enum-grayscale-transformation-mode.html?lang=js)
+* [ImageCaptureDistanceMode]({{ site.dcvb_js_api }}core/enum-image-capture-distance-mode.html?lang=js)
+* [ImageColourMode]({{ site.ddn_js }}api-reference/enum-image-colour-mode.html?lang=js)
+* [ImagePixelFormat]({{ site.dcvb_js_api }}core/enum-image-pixel-format.html?lang=js)
+* [ImageSourceState]({{ site.dcvb_js_api }}core/enum-image-source-state.html?lang=js)
+* [ImageTagType]({{ site.dcvb_js_api }}core/enum-image-tag-type.html?lang=js)
+* [IntermediateResultUnitType]({{ site.dcvb_js_api }}core/enum-intermediate-result-unit-type.html?lang=js)
+* [LocalizationMode]({{ site.dbr_js }}api-reference/enum-localization-mode.html?lang=js)
+* [MappingStatus]({{ site.dcp_js }}api-reference/enum-mapping-status.html?lang=js)
+* [PDFReadingMode]({{ site.dcvb_js_api }}core/enum-pdf-reading-mode.html?lang=js)
+* [PresetTemplate]({{ site.dcvb_js_api }}capture-vision-router/enum-preset-template.html?lang=js)
+* [QRCodeErrorCorrectionLevel]({{ site.dbr_js }}api-reference/enum-qr-code-error-correction-level.html?lang=js)
+* [RawTextLineStatus]({{ site.dlr_js }}api-reference/enum-raw-text-line-status.html?lang=js)
+* [RegionObjectElementType]({{ site.dcvb_js_api }}core/enum-region-object-element-type.html?lang=js)
+* [SectionType]({{ site.dcvb_js_api }}core/enum-section-type.html?lang=js)
+* [TargetType]({{ site.dcvb_js_api }}core/enum-target-type.html?lang=js)
+* [ValidationStatus]({{ site.dcp_js }}api-reference/enum-validation-status.html?lang=js)
+* [ColourChannelUsageType]({{ site.dcvb_js_api }}core/enum-colour-channel-usage-type.html?lang=js)
\ No newline at end of file
diff --git a/programming/javascript/api-reference/index.md b/programming/javascript/api-reference/index.md
index 0c24a78..9d92bb1 100644
--- a/programming/javascript/api-reference/index.md
+++ b/programming/javascript/api-reference/index.md
@@ -29,7 +29,9 @@ breadcrumbText: API Reference
### Enums
-* [EnumImageSourceState]({{ site.dcvb_enums }}core/image-source-state.html?lang=js)
+* [EnumCaptureState]({{ site.dcvb_js_api }}capture-vision-router/enum-capture-state.html?lang=js)
+* [EnumImageSourceState]({{ site.dcvb_js_api }}capture-vision-router/enum-image-source-state.html?lang=js)
+* [EnumPresetTemplate]({{ site.dcvb_js_api }}capture-vision-router/enum-preset-template.html?lang=js)
## [DynamsoftBarcodeReader]({{ site.dbr_js_api }}barcode-reader-module.html)
@@ -57,16 +59,16 @@ breadcrumbText: API Reference
* [OneDCodeDetails]({{ site.dbr_js_api }}interfaces/oned-code-details.html)
* [PDF417Details]({{ site.dbr_js_api }}interfaces/pdf417-details.html)
* [QRCodeDetails]({{ site.dbr_js_api }}interfaces/qr-code-details.html)
-* [ScaledUpBarcodeImageUnit]({{ site.dbr_js_api }}interfaces/scaled-up-barcode-image-unit.html)
+* [ScaledBarcodeImageUnit]({{ site.dbr_js_api }}interfaces/scaled-barcode-image-unit.html)
* [SimplifiedBarcodeReaderSettings]({{ site.dbr_js_api }}interfaces/simplified-barcode-reader-settings.html)
### Enums
-* [EnumBarcodeFormat]({{ site.dcvb_enums }}barcode-reader/barcode-format.html?lang=js)
-* [EnumDeblurMode]({{ site.dcvb_enums }}barcode-reader/deblur-mode.html?lang=js)
-* [EnumExtendedBarcodeResultType]({{ site.dcvb_enums }}barcode-reader/extended-barcode-result-type.html?lang=js)
-* [EnumLocalizationMode]({{ site.dcvb_enums }}barcode-reader/localization-mode.html?lang=js)
-* [EnumQRCodeErrorCorrectionLevel]({{ site.dcvb_enums }}barcode-reader/qr-code-error-correction-level.html?lang=js)
+* [EnumBarcodeFormat]({{ site.dbr_js_api }}enum-barcode-format.html?lang=js)
+* [EnumDeblurMode]({{ site.dbr_js_api }}enum-deblur-mode.html?lang=js)
+* [EnumExtendedBarcodeResultType]({{ site.dbr_js_api }}enum-extended-barcode-result-type.html?lang=js)
+* [EnumLocalizationMode]({{ site.dbr_js_api }}enum-localization-mode.html?lang=js)
+* [EnumQRCodeErrorCorrectionLevel]({{ site.dbr_js_api }}enum-qr-code-error-correction-level.html?lang=js)
## [DynamsoftLabelRecognizer]({{ site.dlr_js_api }}label-recognizer-module.html)
@@ -88,6 +90,10 @@ breadcrumbText: API Reference
* [TextLineResultItem]({{ site.dlr_js_api }}interfaces/textline-result-item.html)
* [RecognizedTextLinesResult]({{ site.dlr_js_api }}interfaces/recognized-textlines-result.html)
+### Enums
+
+* [EnumRawTextLineStatus]({{ site.dlr_js_api }}enum-raw-text-line-status.html?lang=js)
+
## [DynamsoftDocumentNormalizer]({{ site.ddn_js_api }}document-normalizer-module.html)
### Classes
@@ -98,20 +104,24 @@ breadcrumbText: API Reference
* [CandidateQuadEdgesUnit]({{ site.ddn_js_api }}interfaces/candidate-quad-edges-unit.html)
* [CornersUnit]({{ site.ddn_js_api }}interfaces/corners-unit.html)
+* [DeskewedImageElement]({{ site.ddn_js_api }}interfaces/deskewed-image-element.html)
+* [DeskewedImageResultItem]({{ site.ddn_js_api }}interfaces/deskewed-image-result-item.html)
+* [DeskewedImagesUnit]({{ site.ddn_js_api }}interfaces/deskewed-images-unit.html)
* [DetectedQuadElement]({{ site.ddn_js_api }}interfaces/detected-quad-element.html)
* [DetectedQuadResultItem]({{ site.ddn_js_api }}interfaces/detected-quad-result-item.html)
-* [DetectedQuadsResult]({{ site.ddn_js_api }}interfaces/detected-quads-result.html)
* [DetectedQuadsUnit]({{ site.ddn_js_api }}interfaces/detected-quads-unit.html)
+* [EnhancedImageElement]({{ site.ddn_js_api }}interfaces/enhanced-image-element.html)
+* [EnhancedImageResultItem]({{ site.ddn_js_api }}interfaces/enhanced-image-result-item.html)
+* [EnhancedImagesUnit]({{ site.ddn_js_api }}interfaces/enhanced-images-unit.html)
+* [LogicLinesUnit]({{ site.ddn_js_api }}interfaces/logic-lines-unit.html)
* [LongLinesUnit]({{ site.ddn_js_api }}interfaces/long-lines-unit.html)
-* [NormalizedImageElement]({{ site.ddn_js_api }}interfaces/normalized-image-element.html)
-* [NormalizedImageResultItem]({{ site.ddn_js_api }}interfaces/normalized-image-result-item.html)
-* [NormalizedImagesResult]({{ site.ddn_js_api }}interfaces/normalized-images-result.html)
-* [NormalizedImagesUnit]({{ site.ddn_js_api }}interfaces/normalized-images-unit.html)
+* [ProcessedDocumentResult]({{ site.ddn_js_api }}interfaces/processed-document-result.html)
+* [ShortLinesUnit]({{ site.ddn_js_api }}interfaces/short-lines-unit.html)
* [SimplifiedDocumentNormalizerSettings]({{ site.ddn_js_api }}interfaces/simplified-document-normalizer-settings.html)
### Enums
-* [EnumImageColourMode]({{ site.dcvb_enums }}document-normalizer/image-colour-mode.html?lang=js)
+* [EnumImageColourMode]({{ site.ddn_js_api }}enum-image-colour-mode.html?lang=js)
## [DynamsoftCameraEnhancer]({{ site.dce_js_api }}index.html)
@@ -159,8 +169,8 @@ breadcrumbText: API Reference
### Enumerations
-* [EnumMappingStatus]({{ site.dcvb_enums }}code-parser/mapping-status.html)
-* [EnumValidationStatus]({{ site.dcvb_enums }}code-parser/validation-status.html)
+* [EnumMappingStatus]({{ site.dcp_js_api }}enum-mapping-status.html)
+* [EnumValidationStatus]({{ site.dcp_js_api }}enum-validation-status.html)
## [DynamsoftCore]({{ site.dcvb_js_api }}core/core-module.html)
@@ -172,6 +182,7 @@ breadcrumbText: API Reference
### Interfaces
* [Arc]({{ site.dcvb_js_api }}core/basic-structures/arc.html)
+* [CapturedResultBase]({{ site.dcvb_js_api }}core/basic-structures/captured-result-base.html)
* [Contour]({{ site.dcvb_js_api }}core/basic-structures/contour.html)
* [Corner]({{ site.dcvb_js_api }}core/basic-structures/corner.html)
* [DSRect]({{ site.dcvb_js_api }}core/basic-structures/ds-rect.html)
@@ -202,7 +213,7 @@ breadcrumbText: API Reference
* [PredetectedRegionElement]({{ site.dcvb_js_api }}core/intermediate-results/predetected-region-element.html)
* [PredetectedRegionsUnit]({{ site.dcvb_js_api }}core/intermediate-results/predetected-regions-unit.html)
* [RegionObjectElement]({{ site.dcvb_js_api }}core/intermediate-results/region-object-element.html)
-* [ScaledDownColourImageUnit]({{ site.dcvb_js_api }}core/intermediate-results/scaled-down-colour-image-unit.html)
+* [ScaledColourImageUnit]({{ site.dcvb_js_api }}core/intermediate-results/scaled-colour-image-unit.html)
* [TextRemovedBinaryImageUnit]({{ site.dcvb_js_api }}core/intermediate-results/text-removed-binary-image-unit.html)
* [TextureDetectionResultUnit]({{ site.dcvb_js_api }}core/intermediate-results/texture-detection-result-unit.html)
* [TextureRemovedBinaryImageUnit]({{ site.dcvb_js_api }}core/intermediate-results/texture-removed-binary-image-unit.html)
@@ -212,18 +223,19 @@ breadcrumbText: API Reference
### Enums
-* [EnumBufferOverflowProtectionMode]({{ site.dcvb_enums }}core/buffer-overflow-protection-mode.html?lang=js)
-* [EnumCapturedResultItemType]({{ site.dcvb_enums }}core/captured-result-item-type.html?lang=js)
-* [EnumColourChannelUsageType]({{ site.dcvb_enums }}core/colour-channel-usage-type.html?lang=js)
-* [EnumCornerType]({{ site.dcvb_enums }}core/corner-type.html?lang=js)
-* [EnumErrorCode]({{ site.dcvb_enums }}core/error-code.html?lang=js)
-* [EnumGrayscaleEnhancementMode]({{ site.dcvb_enums }}core/grayscale-enhancement-mode.html?lang=js)
-* [EnumGrayscaleTransformationMode]({{ site.dcvb_enums }}core/grayscale-transformation-mode.html?lang=js)
-* [EnumImagePixelFormat]({{ site.dcvb_enums }}core/image-pixel-format.html?lang=js)
-* [EnumImageTagType]({{ site.dcvb_enums }}core/image-tag-type.html?lang=js)
-* [EnumIntermediateResultUnitType]({{ site.dcvb_enums }}core/intermediate-result-unit-type.html?lang=js)
-* [EnumRegionObjectElementType]({{ site.dcvb_enums }}core/region-object-element-type.html?lang=js)
-* [EnumSectionType]({{ site.dcvb_enums }}core/section-type.html?lang=js)
+* [EnumBufferOverflowProtectionMode]({{ site.dcvb_js_api }}core/enum-buffer-overflow-protection-mode.html?lang=js)
+* [EnumCapturedResultItemType]({{ site.dcvb_js_api }}core/enum-captured-result-item-type.html?lang=js)
+* [EnumColourChannelUsageType]({{ site.dcvb_js_api }}core/enum-colour-channel-usage-type.html?lang=js)
+* [EnumCornerType]({{ site.dcvb_js_api }}core/enum-corner-type.html?lang=js)
+* [EnumErrorCode]({{ site.dcvb_js_api }}core/enum-error-code.html?lang=js)
+* [EnumGrayscaleEnhancementMode]({{ site.dcvb_js_api }}core/enum-grayscale-enhancement-mode.html?lang=js)
+* [EnumGrayscaleTransformationMode]({{ site.dcvb_js_api }}core/enum-grayscale-transformation-mode.html?lang=js)
+* [EnumImagePixelFormat]({{ site.dcvb_js_api }}core/enum-image-pixel-format.html?lang=js)
+* [EnumImageTagType]({{ site.dcvb_js_api }}core/enum-image-tag-type.html?lang=js)
+* [EnumIntermediateResultUnitType]({{ site.dcvb_js_api }}core/enum-intermediate-result-unit-type.html?lang=js)
+* [EnumModuleName]({{ site.dcvb_js_api }}core/enum-module-name.html?lang=js)
+* [EnumRegionObjectElementType]({{ site.dcvb_js_api }}core/enum-region-object-element-type.html?lang=js)
+* [EnumSectionType]({{ site.dcvb_js_api }}core/enum-section-type.html?lang=js)
## [DynamsoftLicense]({{ site.dcvb_js_api }}license/license-module.html)
@@ -237,5 +249,11 @@ breadcrumbText: API Reference
### Classes
* [UtilityModule]({{ site.dcvb_js_api }}utility/utility-module-class.html)
-* [ImageManager]({{ site.dcvb_js_api }}utility/image-manager.html)
-* [MultiFrameResultCrossFilter]({{ site.dcvb_js_api }}utility//multi-frame-result-cross-filter.html)
\ No newline at end of file
+* [ImageDrawer]({{ site.dcvb_js_api }}utility/image-drawer.html)
+* [ImageIO]({{ site.dcvb_js_api }}utility/image-io.html)
+* [ImageProcessor]({{ site.dcvb_js_api }}utility/image-processor.html)
+* [MultiFrameResultCrossFilter]({{ site.dcvb_js_api }}utility//multi-frame-result-cross-filter.html)
+
+### Enums
+
+* [EnumFilterType]({{ site.dcvb_js_api }}utility/enum-filter-type.html?lang=js)
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/enum-filter-type.md b/programming/javascript/api-reference/utility/enum-filter-type.md
new file mode 100644
index 0000000..b7c7a30
--- /dev/null
+++ b/programming/javascript/api-reference/utility/enum-filter-type.md
@@ -0,0 +1,30 @@
+---
+layout: default-layout
+title: FilterType - Dynamsoft Utility Enumerations
+description: The enumeration FilterType of Dynamsoft Utility describes how to filter images.
+keywords: Filter type
+needGenerateH3Content: true
+needAutoGenerateSidebar: true
+noTitleIndex: true
+breadcrumbText: FilterType
+codeAutoHeight: true
+---
+
+# Enumeration FilterType
+
+`FilterType` categorizes the type of pre-build filters to filter images.
+
+
+ >- JavaScript
+ >
+>
+```javascript
+enum EnumFilterType{
+ /**High-pass filter: Enhances edges and fine details by attenuating low-frequency components.*/
+ FT_HIGH_PASS = 0,
+ /**Sharpen filter: Increases contrast along edges to make the image appear more defined.*/
+ FT_SHARPEN = 1,
+ /**Smooth (blur) filter: Reduces noise and detail by averaging pixel values, creating a softening effect.*/
+ FT_SMOOTH = 2
+}
+```
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/image-drawer.md b/programming/javascript/api-reference/utility/image-drawer.md
new file mode 100644
index 0000000..7f57fe3
--- /dev/null
+++ b/programming/javascript/api-reference/utility/image-drawer.md
@@ -0,0 +1,63 @@
+---
+layout: default-layout
+title: class ImageDrawer - Dynamsoft Utility Module JS Edition API Reference
+description: This page shows the JS edition of the class ImageDrawer in Dynamsoft Utility Module.
+keywords: image manager, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# ImageDrawer
+
+The `ImageDrawer` class provides APIs for drawing shapes on images.
+
+| Name | Description |
+| ---------------------------- | -------------------------------------------------------------- |
+| [drawOnImage()](#drawonimage) | Draws various shapes on an image, and save it in PNG format. |
+
+## drawOnImage
+
+This method draws various shapes on an image, and save it in PNG format.
+
+```typescript
+class ImageDrawer {
+ /**
+ * This method draws various shapes on an image, and save it in PNG format.
+ *
+ * @param image The image to be saved.
+ * @param drawingItem An array of different shapes to draw on the image.
+ * @param type The type of drawing shapes.
+ * @param color The color to use for drawing. Defaults to 0xFFFF0000 (red).
+ * @param thickness The thickness of the lines to draw. Defaults to 1.
+ * @param download An optional boolean flag that, when set to true, triggers the download of the file.
+ *
+ * @returns A promise that resolves with the saved File object.
+ */
+ drawOnImage(
+ image: Blob | string | DSImageData,
+ drawingItem: Array | Quadrilateral | Array | LineSegment | Array | Contour | Array | Corner | Array | Edge,
+ type: "quads" | "lines" | "contours" | "corners" | "edges",
+ color?: number,
+ thickness?: number,
+ download?: boolean): Promise;
+}
+```
+
+**Parameters**
+
+`image`: The image to be saved, of type `Blob`, `DSImageData` or `string`.
+
+`drawingItem`: A shape or an array of different shapes to draw on the image.
+
+`type`: The type of drawing shapes.
+
+`color`: The color to use for drawing. Defaults to 0xFFFF0000 (red).
+
+`thickness`: The thickness of the lines to draw. Defaults to 1.
+
+`download`: An optional boolean flag that, when set to true, triggers the download of the file.
+
+**Return Value**
+
+A promise that resolves with the saved File object.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/image-io.md b/programming/javascript/api-reference/utility/image-io.md
new file mode 100644
index 0000000..ece57e3
--- /dev/null
+++ b/programming/javascript/api-reference/utility/image-io.md
@@ -0,0 +1,94 @@
+---
+layout: default-layout
+title: class ImageIO - Dynamsoft Utility Module JS Edition API Reference
+description: This page shows the JS edition of the class ImageIO in Dynamsoft Utility Module.
+keywords: image manager, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# ImageIO
+
+The `ImageIO` class provides APIs for images reading and saving.
+
+| Name | Description |
+| ----------------------------------- | -------------------------------------------------------------- |
+| [saveToFile()](#savetofile) | Saves the specified image in either PNG or JPG format. |
+| [readFromFile()](#readfromfile) | Reads an image from a file |
+| [saveToMemory()](#savetomemory) | Saves an image to memory. |
+| [readFromMemory()](#readfrommemory) | Reads image data from memory using the specified ID. |
+
+## saveToFile
+
+This method saves an image in either PNG or JPG format. The desired file format is inferred from the file extension provided in the 'name' parameter.
+
+> Should the specified file format be omitted or unsupported, the data will default to being exported in PNG format.
+
+```typescript
+saveToFile(image: Core.DSImageData, name: string, download?: boolean): Promise;
+```
+
+**Parameters**
+
+`image`: The image to be saved, of type Core.DSImageData.
+
+`name`: The name of the file, as a string, under which the image will be saved.
+
+`download`: An optional boolean flag that, when set to true, triggers the download of the file.
+
+**Return Value**
+
+A Promise that resolves with the saved File object.
+
+## readFromFile
+
+This method reads an image from a file. The file format is automatically detected based on the file extension content.
+
+```typescript
+readFromFile(file: File): Promise;
+```
+
+**Parameters**
+
+`file`: The file to read, as a `File` object.
+
+**Return Value**
+
+A promise that resolves with the loaded image of type `DSImageData`.
+
+## saveToMemory
+
+This method saves an image to memory. The desired file format is inferred from the 'format' parameter.
+
+> Should the specified file format be omitted or unsupported, the data will default to being exported in PNG format.
+
+```typescript
+saveToMemory(image: Blob, format: Core.EnumImageFileFormat) : Promise;
+```
+
+**Parameters**
+
+`image`: A `Blob` representing the image to be saved.
+
+`format`: The desired image format.
+
+**Return Value**
+
+A Promise that resolves to a memory ID which can later be used to retrieve the image via readFromMemory.
+
+## readFromMemory
+
+Reads image data from memory using the specified ID.
+
+```typescript
+readFromMemory(id: number) : Promise;
+```
+
+**Parameters**
+
+`id`: The memory ID referencing a previously stored image.
+
+**Return Value**
+
+A Promise that resolves to the `DSImageData` object.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/image-processor.md b/programming/javascript/api-reference/utility/image-processor.md
new file mode 100644
index 0000000..d59895e
--- /dev/null
+++ b/programming/javascript/api-reference/utility/image-processor.md
@@ -0,0 +1,159 @@
+---
+layout: default-layout
+title: class ImageProcessor - Dynamsoft Utility Module JS Edition API Reference
+description: This page shows the JS edition of the class ImageProcessor in Dynamsoft Utility Module.
+keywords: image manager, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# ImageProcessor
+
+The `ImageProcessor` class provides APIs for processing images.
+
+| Name | Description |
+| ------------------------------------------------- | ---------------------------------------------------------------------------------- |
+| [cropImage()](#cropimage) | Crops an image using a rectangle or quadrilateral. |
+| [adjustBrightness()](#adjustbrightness) | Adjusts the brightness of the image. |
+| [adjustContrast()](#adjustcontrast) | Adjusts the contrast of the image. |
+| [filterImage()](#filterimage) | Applies a specified image filter to an input image. |
+| [convertToGray()](#converttogray) | Converts a colour image to grayscale. |
+| [convertToBinaryGlobal()](#converttobinaryglobal) | Converts a grayscale image to a binary image using a global threshold. |
+| [convertToBinaryLocal()](#converttobinarylocal) | Converts a grayscale image to a binary image using local (adaptive) binarization. |
+
+## cropImage
+
+Crops an image using a rectangle or quadrilateral.
+
+```typescript
+cropImage(image: Blob, roi: DSRect | Quadrilateral): Promise;
+```
+
+**Parameters**
+
+`image`: The image to be saved, of type `Blob`.
+
+`roi`: The rectangle or quadrilateral to be cropped.
+
+**Return Value**
+
+A promise that resolves with the cropped image data.
+
+## adjustBrightness
+
+Adjusts the brightness of the image.
+
+```typescript
+adjustBrightness(image: Blob, brightness: number): Promise;
+```
+
+**Parameters**
+
+`image`: The image to be adjusted.
+
+`brightness`: Brightness adjustment value (range: [-100, 100]).
+
+**Return Value**
+
+A promise that resolves with the adjusted image data.
+
+## adjustContrast
+
+Adjusts the contrast of the image.
+
+```typescript
+adjustContrast(image: Blob, contrast: number): Promise;
+```
+
+**Parameters**
+
+`image`: The image to be adjusted.
+
+`contrast`: Contrast adjustment value (range: [-100, 100]).
+
+**Return Value**
+
+A promise that resolves with the adjusted image data.
+
+## filterImage
+
+Applies a specified image filter to an input image.
+
+```typescript
+filterImage(image: Blob, filterType: EnumFilterType): Promise;
+```
+
+**Parameters**
+
+`image`: The image to be filtered.
+
+`filterType`: The type of filter to apply.
+
+**Return Value**
+
+A promise that resolves with the filtered image data.
+
+## convertToGray
+
+Converts a colour image to grayscale.
+
+```typescript
+convertToGray(image: Blob, R?: number, G?: number, B?: number): Promise;
+```
+
+**Parameters**
+
+`image`: The image to be converted.
+
+`R`: [R=0.3] - Weight for the red channel.
+
+`G`: [G=0.59] - Weight for the green channel.
+
+`B`: [B=0.11] - Weight for the blue channel.
+
+**Return Value**
+
+A promise that resolves with the grayscale image data.
+
+## convertToBinaryGlobal
+
+Converts a grayscale image to a binary image using a global threshold.
+
+```typescript
+convertToBinaryGlobal(image: Blob, threshold?: number, invert?: boolean): Promise;
+```
+
+**Parameters**
+
+`image`: The grayscale image.
+
+`threshold`: [threshold=-1] Global threshold for binarization (-1 for automatic calculation).
+
+`invert`: [invert=false] Whether to invert the binary image.
+
+**Return Value**
+
+A promise that resolves with the binary image data.
+
+## convertToBinaryLocal
+
+Converts a grayscale image to a binary image using local (adaptive) binarization.
+
+```typescript
+convertToBinaryLocal(image: Blob, blockSize?: number, compensation?: number, invert?: boolean): Promise;
+```
+
+**Parameters**
+
+`image`: The grayscale image.
+
+`blockSize`: [blockSize=0] Size of the block for local binarization.
+
+`compensation`: [compensation=0] Adjustment value to modify the threshold.
+
+`invert`: [invert=false] Whether to invert the binary image.
+
+**Return Value**
+
+A promise that resolves with the binary image data.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/multi-frame-result-cross-filter-v2.6.1000.md b/programming/javascript/api-reference/utility/multi-frame-result-cross-filter-v2.6.1000.md
new file mode 100644
index 0000000..61b506e
--- /dev/null
+++ b/programming/javascript/api-reference/utility/multi-frame-result-cross-filter-v2.6.1000.md
@@ -0,0 +1,323 @@
+---
+layout: default-layout
+title: Interface MultiFrameResultCrossFilter - Dynamsoft Utility Module JS Edition API Reference
+description: This page shows the JS edition of the class MultiFrameResultCrossFilter in Dynamsoft Utility Module.
+keywords: image manager, JS
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# MultiFrameResultCrossFilter
+
+The `MultiFrameResultCrossFilter` class offers a set of API functions designed for managing and filtering results from multiple image frames, typically used in consecutive frames of a streaming video.
+
+| Name | Description |
+| ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
+| [enableLatestOverlapping()](#enablelatestoverlapping) | Enables or disables the to-the-latest overlapping feature of one or multiple specific result item types. This feature can increase the read-rate performance when decoding multiple barcodes under the video streaming. |
+| [isLatestOverlappingEnabled()](#islatestoverlappingenabled) | Checks if to-the-latest overlapping is active for a given result item type. |
+| [enableResultCrossVerification()](#enableresultcrossverification) | Enables or disables the verification of specific result item types. |
+| [isResultCrossVerificationEnabled()](#isresultcrossverificationenabled) | Checks if verification is active for a given result item type. |
+| [enableResultDeduplication()](#enableresultdeduplication) | Enables or disables the deduplication process for specific result item types. |
+| [isResultDeduplicationEnabled()](#isresultdeduplicationenabled) | Checks if deduplication is active for a given result item type. |
+| [setDuplicateForgetTime()](#setduplicateforgettime) | Sets the interval during which duplicates are disregarded for specific result item types. |
+| [getDuplicateForgetTime()](#getduplicateforgettime) | Retrieves the interval during which duplicates are disregarded for a given result item type. |
+| [setMaxOverlappingFrames()](#setmaxoverlappingframes) | Set the maximum overlapping frames count for a given result item type. |
+| [getMaxOverlappingFrames()](#getmaxoverlappingframes) | Get the maximum overlapping frames count for a given result item type. |
+| [onOriginalImageResultReceived()](#onoriginalimageresultreceived) | Event triggered when the original images are received. |
+| [onDecodedBarcodesReceived()](#ondecodedbarcodesreceived) | Event triggered when the decoded barcodes are received. |
+| [onRecognizedTextLinesReceived()](#onrecognizedtextlinesreceived) | Event triggered when the recognized text lines are received. |
+| [onDetectedQuadsReceived()](#ondetectedquadsreceived) | Event triggered when the detected quadrilaterals are received. |
+| [onNormalizedImagesReceived()](#onnormalizedimagesreceived) | Event triggered when the normalized images are received. |
+
+### enableLatestOverlapping
+
+Enables or disables the latest overlapping of specific result item types.
+
+> Please note that this feature is currently only available for barcodes reading.
+
+```typescript
+enableLatestOverlapping(resultItemTypes: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image", enabled: boolean): void;
+```
+
+**Parameters**
+
+`resultItemTypes`: Specifies the result item types.
+
+`enabled`: Boolean to toggle the latest overlapping on or off.
+
+**Return Value**
+
+None.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### isLatestOverlappingEnabled
+
+Checks if latest overlapping is active for a given result item type.
+
+```typescript
+isLatestOverlappingEnabled(resultItemType: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image"): boolean;
+```
+
+**Parameters**
+
+`resultItemType`: Specifies the result item type in question.
+
+**Return Value**
+
+Boolean indicating the status of the latest overlapping for the specified type.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### enableResultCrossVerification
+
+Enables or disables the verification of specific result item types.
+
+```typescript
+enableResultCrossVerification(resultItemTypes: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image", enabled: boolean): void;
+```
+
+**Parameters**
+
+`resultItemTypes`: Specifies the result item types.
+
+`enabled`: Boolean to toggle verification on or off.
+
+**Return Value**
+
+None.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### isResultCrossVerificationEnabled
+
+Checks if verification is active for a given result item type.
+
+```typescript
+isResultCrossVerificationEnabled(resultItemType: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image"): boolean;
+```
+
+**Parameters**
+
+`resultItemType`: Specifies the result item type in question.
+
+**Return Value**
+
+Boolean indicating the status of verification for the specified type.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### enableResultDeduplication
+
+Enables or disables the deduplication process for specific result item types.
+
+```typescript
+enableResultDeduplication(resultItemTypes: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image", enabled: boolean): void;
+```
+
+**Parameters**
+
+`resultItemTypes`: Specifies the result item types.
+
+`enabled`: Boolean to toggle deduplication on or off.
+
+**Return Value**
+
+None.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### isResultDeduplicationEnabled
+
+Checks if deduplication is active for a given result item type.
+
+```typescript
+isResultDeduplicationEnabled(resultItemType: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image"): boolean;
+```
+
+**Parameters**
+
+`resultItemType`: Specifies the result item type in question.
+
+**Return Value**
+
+Boolean indicating the deduplication status for the specified type.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### setDuplicateForgetTime
+
+Sets the interval during which duplicates are disregarded for specific result item types.
+
+```typescript
+setDuplicateForgetTime(resultItemTypes: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image", time: number): void;
+```
+
+**Parameters**
+
+`resultItemTypes`: Specifies the result item types.
+
+`time`: Time in milliseconds during which duplicates are disregarded. The maximum time allowed is 10,000 milliseconds or 10 seconds.
+
+**Return Value**
+
+None.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### getDuplicateForgetTime
+
+Retrieves the interval during which duplicates are disregarded for a given result item type.
+
+```typescript
+getDuplicateForgetTime(resultItemType: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image"): number;
+```
+
+**Parameters**
+
+`resultItemType`: Specifies the result item type in question.
+
+**Return Value**
+
+The set interval for the specified item type.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### setMaxOverlappingFrames
+
+Set the maximum overlapping frames count for a given result item type.
+
+```typescript
+setMaxOverlappingFrames(resultItemTypes: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image", maxOverlappingFrames: number): void;
+```
+
+**Parameters**
+
+`resultItemTypes`: Specifies the result item types.
+
+`maxOverlappingFrames`: The maximum overlapping frame count for the overlapping.
+
+**Return Value**
+
+None.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### getMaxOverlappingFrames
+
+Get the maximum overlapping frames count for a given result item type.
+
+```typescript
+getMaxOverlappingFrames(resultItemType: Core.EnumCapturedResultItemType | "barcode" | "text_line" | "detected_quad" | "normalized_image"): number;
+```
+
+**Parameters**
+
+`resultItemType`: Specifies the result item type in question.
+
+**Return Value**
+
+The maximum overlapping frame count for the overlapping.
+
+**See Also**
+
+[EnumCapturedResultItemType](https://www.dynamsoft.com/capture-vision/docs/core/enums/core/captured-result-item-type.html?lang=js)
+
+### onOriginalImageResultReceived
+
+Event triggered when the original images are received.
+
+```typescript
+onOriginalImageResultReceived?: (result: Core.OriginalImageResultItem) => void;
+```
+
+**Parameters**
+
+`result`: The result item that contains the original image, of type `OriginalImageResultItem`.
+
+**Return Value**
+
+None.
+
+### onDecodedBarcodesReceived
+
+Event triggered when the decoded barcodes are received.
+
+```typescript
+onDecodedBarcodesReceived?: (result: any) => void;
+```
+
+**Parameters**
+
+`result`: The result item that contains the decoded barcodes, of type `any`.
+
+**Return Value**
+
+None.
+
+### onRecognizedTextLinesReceived
+
+Event triggered when the recognized text lines are received.
+
+```typescript
+onRecognizedTextLinesReceived?: (result: any) => void;
+```
+
+**Parameters**
+
+`result`: The result item that contains the recognized text lines, of type `any`.
+
+**Return Value**
+
+None.
+
+### onDetectedQuadsReceived
+
+Event triggered when the detected quadrilaterals are received.
+
+```typescript
+onDetectedQuadsReceived?: (result: any) => void;
+```
+
+**Parameters**
+
+`result`: The result item that contains the detected quadrilaterals, of type `any`.
+
+**Return Value**
+
+None.
+
+### onNormalizedImagesReceived
+
+Event triggered when the normalized images are received.
+
+```typescript
+onNormalizedImagesReceived?: (result: any) => void;
+```
+
+**Parameters**
+
+`result`: The result item that contains the normalized images, of type `any`.
+
+**Return Value**
+
+None.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/multi-frame-result-cross-filter.md b/programming/javascript/api-reference/utility/multi-frame-result-cross-filter.md
index 61b506e..31da5c2 100644
--- a/programming/javascript/api-reference/utility/multi-frame-result-cross-filter.md
+++ b/programming/javascript/api-reference/utility/multi-frame-result-cross-filter.md
@@ -27,8 +27,7 @@ The `MultiFrameResultCrossFilter` class offers a set of API functions designed f
| [onOriginalImageResultReceived()](#onoriginalimageresultreceived) | Event triggered when the original images are received. |
| [onDecodedBarcodesReceived()](#ondecodedbarcodesreceived) | Event triggered when the decoded barcodes are received. |
| [onRecognizedTextLinesReceived()](#onrecognizedtextlinesreceived) | Event triggered when the recognized text lines are received. |
-| [onDetectedQuadsReceived()](#ondetectedquadsreceived) | Event triggered when the detected quadrilaterals are received. |
-| [onNormalizedImagesReceived()](#onnormalizedimagesreceived) | Event triggered when the normalized images are received. |
+| [onProcessedDocumentResultReceived()](#onprocesseddocumentresultreceived) | Event triggered when the processed documents are received. |
### enableLatestOverlapping
@@ -290,33 +289,17 @@ onRecognizedTextLinesReceived?: (result: any) => void;
None.
-### onDetectedQuadsReceived
+### onProcessedDocumentResultReceived
-Event triggered when the detected quadrilaterals are received.
+Event triggered when the processed documents are received.
```typescript
-onDetectedQuadsReceived?: (result: any) => void;
+onProcessedDocumentResultReceived?: (result: any) => void;
```
**Parameters**
-`result`: The result item that contains the detected quadrilaterals, of type `any`.
-
-**Return Value**
-
-None.
-
-### onNormalizedImagesReceived
-
-Event triggered when the normalized images are received.
-
-```typescript
-onNormalizedImagesReceived?: (result: any) => void;
-```
-
-**Parameters**
-
-`result`: The result item that contains the normalized images, of type `any`.
+`result`: The result item that contains the processed documents, of type `any`.
**Return Value**
diff --git a/programming/javascript/api-reference/utility/utility-module-v2.6.1000.md b/programming/javascript/api-reference/utility/utility-module-v2.6.1000.md
new file mode 100644
index 0000000..8e52b28
--- /dev/null
+++ b/programming/javascript/api-reference/utility/utility-module-v2.6.1000.md
@@ -0,0 +1,48 @@
+---
+layout: default-layout
+title: API Reference Index - Utility Module JavaScript Edition
+description: This is the index page of the Utility Module API Reference
+keywords: Utility, api reference, javascript, js
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+breadcrumbText: Utility Module
+---
+
+
+# DynamsoftUtility Module
+
+The Utility module is defined in the namespace `Dynamsoft.Utility`. At present, it consists of the classes `UtilityModule`, `ImageManager` and `MultiFrameResultCrossFilter`.
+
+## UtilityModule Class
+
+This class defines common functionality in the Utility module. At present, it has only one method.
+
+| Name | Description |
+| ------------------------------------------------------------- | ------------------------------------------ |
+| `static` [getVersion()](./utility-module-class.md#getversion) | Returns the version of the Utility module. |
+
+## ImageManager Class
+
+The `ImageManager` class provides APIs for managing images. At present, it has only one API to save an image as a file.
+
+| Name | Description |
+| ------------------------------------------- | ------------------------------------------------------ |
+| [saveToFile](./image-manager.md#savetofile) | Saves the specified image in either PNG or JPG format. |
+
+## MultiFrameResultCrossFilter Class
+
+The `MultiFrameResultCrossFilter` class provides APIs to configure the filtering of results from multiple images which have been processed consecutively. Usually these images are frames from a streaming video.
+
+| Name | Description |
+| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
+| [enableLatestOverlapping()](./multi-frame-result-cross-filter.md#enablelatestoverlapping) | Enables or disables the to-the-latest overlapping feature of one or multiple specific result item types. This feature can increase the read-rate performance when decoding multiple barcodes under the video streaming. |
+| [isLatestOverlappingEnabled()](./multi-frame-result-cross-filter.md#islatestoverlappingenabled) | Checks if to-the-latest overlapping is active for a given result item type. |
+| [enableResultCrossVerification()](./multi-frame-result-cross-filter.md#enableresultcrossverification) | Enables or disables the verification of specific result item types. |
+| [isResultCrossVerificationEnabled()](./multi-frame-result-cross-filter.md#isresultcrossverificationenabled) | Checks if verification is active for a given result item type. |
+| [enableResultDeduplication()](./multi-frame-result-cross-filter.md#enableresultdeduplication) | Enables or disables the deduplication process for specific result item types. |
+| [isResultDeduplicationEnabled()](./multi-frame-result-cross-filter.md#isresultdeduplicationenabled) | Checks if deduplication is active for a given result item type. |
+| [setDuplicateForgetTime()](./multi-frame-result-cross-filter.md#setduplicateforgettime) | Sets the interval during which duplicates are disregarded for specific result item types. |
+| [getDuplicateForgetTime()](./multi-frame-result-cross-filter.md#getduplicateforgettime) | Retrieves the interval during which duplicates are disregarded for a given result item type. |
+| [setMaxOverlappingFrames()](./multi-frame-result-cross-filter.md#setmaxoverlappingframes) | Set the maximum overlapping frames count for a given result item type. |
+| [getMaxOverlappingFrames()](./multi-frame-result-cross-filter.md#getmaxoverlappingframes) | Get the maximum overlapping frames count for a given result item type. |
\ No newline at end of file
diff --git a/programming/javascript/api-reference/utility/utility-module.md b/programming/javascript/api-reference/utility/utility-module.md
index 8e52b28..0c3b235 100644
--- a/programming/javascript/api-reference/utility/utility-module.md
+++ b/programming/javascript/api-reference/utility/utility-module.md
@@ -22,13 +22,38 @@ This class defines common functionality in the Utility module. At present, it ha
| ------------------------------------------------------------- | ------------------------------------------ |
| `static` [getVersion()](./utility-module-class.md#getversion) | Returns the version of the Utility module. |
-## ImageManager Class
+## ImageDrawer Class
-The `ImageManager` class provides APIs for managing images. At present, it has only one API to save an image as a file.
+The `ImageDrawer` class provides APIs for for drawing shapes on images.
+
+| Name | Description |
+| ---------------------------------------------- | ------------------------------------------------------ |
+| [drawOnImage()](./image-drawer.md#drawonimage) | Draws various shapes on an image, and save it in PNG format. |
+
+## ImageIO Class
+
+The `ImageIO` class provides APIs for images reading and saving.
+
+| Name | Description |
+| ------------------------------------------- | ------------------------------------------------------ |
+| [saveToFile()](./image-io.md#savetofile) | Saves the specified image in either PNG or JPG format. |
+| [readFromFile()](./image-io.md#readfromfile) | Reads an image from a file |
+| [saveToMemory()](./image-io.md#savetomemory) | Saves an image to memory. |
+| [readFromMemory()](./image-io.md#readfrommemory) | Reads image data from memory using the specified ID. |
+
+## ImageProcessor Class
+
+The `ImageProcessor` class provides APIs for processing images.
| Name | Description |
| ------------------------------------------- | ------------------------------------------------------ |
-| [saveToFile](./image-manager.md#savetofile) | Saves the specified image in either PNG or JPG format. |
+| [cropImage()](./image-processor.md#cropimage) | Crops an image using a rectangle or quadrilateral. |
+| [adjustBrightness()](./image-processor.md#adjustbrightness) | Adjusts the brightness of the image. |
+| [adjustContrast()](./image-processor.md#adjustcontrast) | Adjusts the contrast of the image. |
+| [filterImage()](./image-processor.md#filterimage) | Applies a specified image filter to an input image. |
+| [convertToGray()](./image-processor.md#converttogray) | Converts a colour image to grayscale. |
+| [convertToBinaryGlobal()](./image-processor.md#converttobinaryglobal) | Converts a grayscale image to a binary image using a global threshold. |
+| [convertToBinaryLocal()](./image-processor.md#converttobinarylocal) | Converts a grayscale image to a binary image using local (adaptive) binarization. |
## MultiFrameResultCrossFilter Class
diff --git a/programming/javascript/index.md b/programming/javascript/index.md
index 62666a3..91a898d 100644
--- a/programming/javascript/index.md
+++ b/programming/javascript/index.md
@@ -33,11 +33,11 @@ Implementing DCV, regardless of platform or language, involves three stages: inp
The best way to begin with Dynamsoft Capture Vision JavaScript Edition is to follow the User Guide for specific use cases.
-- [User Guide for Dynamsoft Barcode Reader](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html){:target="_blank"}
+- [User Guide for Dynamsoft Barcode Reader](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner.html){:target="_blank"}
- [User Guide for MRZ Scanner](https://www.dynamsoft.com/mrz-scanner/docs/web/guides/mrz-scanner.html){:target="_blank"}
-- [User Guide for Document Scanner](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/user-guide/index.html)
+- [User Guide for Document Scanner](https://www.dynamsoft.com/mobile-web-capture/docs/guides/document-scanner.html){:target="_blank"}
### Check APIs
diff --git a/programming/javascript/release-notes/dcvb-3.md b/programming/javascript/release-notes/dcvb-3.md
new file mode 100644
index 0000000..096c4bf
--- /dev/null
+++ b/programming/javascript/release-notes/dcvb-3.md
@@ -0,0 +1,40 @@
+---
+layout: default-layout
+title: DCVB Release Notes v3.x - Dynamsoft Capture Vision Bundle JavaScript Edition
+description: The release notes of DCVB v3.x - Dynamsoft Capture Vision Bundle JavaScript Edition.
+keywords: release notes, capture vision, JavaScript, dcvb, 3.x
+needAutoGenerateSidebar: true
+noTitleIndex: true
+---
+
+# Release Notes - DynamsoftCaptureVisionBundle
+
+## 3.0.3000(06/05/2025)
+
+### [Highlights](https://www.dynamsoft.com/release-highlights/?product=dcv3.0)
+
+#### Workflow Improvements
+
+- Restructured the parameter control hierarchy at all levels for finer scope definition and more granular process management, with the stage level newly added.
+- Enabled custom combinations and sequences of sections, increasing flexibility and operational customization under specific conditions.
+- Redesigned document normalization sections to better accommodate diverse document processing operations.
+
+#### Deep Learning Integration
+
+- Improved the reading rate of 1D barcode by introducing a new deblurring deep-learning model.
+- Enhanced text recognition capabilities with deep learning-based text-line recognition.
+
+#### Algorithm Enhancements
+
+- Enabled deduplication at the Region of Interest (ROI) level to consolidate results from multiple tasks.
+- Enhanced the text recognition workflow by integrating improved multi-step recognition processes and validation methods.
+- Improved the `CODE_128` and `DataMatrix` DeepAnalysis algorithms for better decoding accuracy and performance.
+- Added support for new barcode types: `CODE_32`, `MATRIX_25`, `KIX`, and `TELEPEN`.
+- Added GS1 Application Identifiers (AI) support for improved code parsing capabilities.
+
+#### Engineering Optimizations
+
+- Simplified the loading and configuration of WASM resources, reducing the overall size of the WASM files.
+- Added the `dcvData` package to host all potentially used resource files (such as machine learning models, code parser resources, preset template files, etc.).
+- Implemented conversion functionality between `ImageData` and image files, including both local and in-memory files.
+- Added utility functions for basic image processing tasks.
\ No newline at end of file
diff --git a/programming/javascript/release-notes/index.md b/programming/javascript/release-notes/index.md
index 49f5df3..e3db5a3 100644
--- a/programming/javascript/release-notes/index.md
+++ b/programming/javascript/release-notes/index.md
@@ -9,6 +9,7 @@ noTitleIndex: true
# Release Notes - Dynamsoft Capture Vision Bundle JavaScript
+- [3.0.3000 (06/05/2025)](dcvb-3.md#303000-06052025)
- [2.6.1000 (01/03/2025)](dcvb.md#261000-01032025)
- [2.4.2200 (10/24/2024)](dcvb.md#242200-10242024)
- [2.2.3000 (07/21/2024)](dcvb.md#223000-07212024)
\ No newline at end of file
diff --git a/programming/javascript/user-guide/dcvData-readme.md b/programming/javascript/user-guide/dcvData-readme.md
new file mode 100644
index 0000000..eaefac7
--- /dev/null
+++ b/programming/javascript/user-guide/dcvData-readme.md
@@ -0,0 +1,13 @@
+---
+layout: default-layout
+title: Readme - Dynamsoft Capture Vision Data
+description: This package includes machine learning models for barcode reading, text recognition, and border detection, as well as string parsing resources and template files, empowering various foundational products under DCV architecture.
+keywords: dynamsoft dynamsoft-capture-vision sdk javascript typescript Convolutional-Neural-Networks CNN resource super-resolution
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+noTitleIndex: true
+---
+
+# Dynamsoft Capture Vision Data
+
+This package includes machine learning models for barcode reading, text recognition, and border detection, as well as string parsing resources and template files, empowering various foundational products under [DCV (Dynamsoft Capture Vision) architecture](https://www.dynamsoft.com/capture-vision/docs/web/programming/javascript/).
\ No newline at end of file
diff --git a/programming/javascript/user-guide/index.md b/programming/javascript/user-guide/index.md
index a943fbb..55524ac 100644
--- a/programming/javascript/user-guide/index.md
+++ b/programming/javascript/user-guide/index.md
@@ -13,8 +13,8 @@ breadcrumbText: User Guide
The best way to begin with Dynamsoft Capture Vision JavaScript Edition is to follow the User Guide for specific use cases.
-- [User Guide for Dynamsoft Barcode Reader](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html){:target="_blank"}
+- [User Guide for Dynamsoft Barcode Reader](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner.html){:target="_blank"}
- [User Guide for MRZ Scanner](https://www.dynamsoft.com/mrz-scanner/docs/web/guides/mrz-scanner.html){:target="_blank"}
-- [User Guide for Document Scanner](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/user-guide/index.html)
\ No newline at end of file
+- [User Guide for Document Scanner](https://www.dynamsoft.com/mobile-web-capture/docs/guides/document-scanner.html){:target="_blank"}
\ No newline at end of file