Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions programming/android/release-notes/android-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ noTitleIndex: true

# Release Notes - DynamsoftCaptureVision Android v3.x

## 3.6.2000 (08/14/2026)

### New

- Added support for Micro PDF417-specific decoding mode.

### Fixed

- Fixed several known crash issues.

## 3.6.1000 (07/30/2026)

### Highlights
Expand Down
1 change: 1 addition & 0 deletions programming/android/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ noTitleIndex: true

# Release Notes Index - DynamsoftCaptureVisionBundle Android

- [3.6.2000 (08/14/2026)](android-3.html#362000-08142026)
- [3.6.1000 (07/30/2026)](android-3.html#361000-07302026)
- [3.4.3000 (07/07/2026)](android-3.html#343000-07072026)
- [3.4.1300 (05/20/2026)](android-3.html#341300-05202026)
Expand Down
1 change: 1 addition & 0 deletions programming/ios/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ noTitleIndex: true

# Release Notes Index - DynamsoftCaptureVisionBundle iOS

- [3.6.2000 (08/14/2026)](ios-3.html#362000-08142026)
- [3.6.1000 (07/30/2026)](ios-3.html#361000-07302026)
- [3.4.3000 (07/07/2026)](ios-3.html#343000-07072026)
- [3.4.1200 (04/02/2026)](ios-3.html#341200-04022026)
Expand Down
10 changes: 10 additions & 0 deletions programming/ios/release-notes/ios-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ noTitleIndex: true

# Release Notes - DynamsoftCaptureVision iOS v3.x

## 3.6.2000 (08/14/2026)

### New

- Added support for Micro PDF417-specific decoding mode.

### Fixed

- Fixed several known crash issues.

## 3.6.1000 (07/30/2026)

### Highlights
Expand Down
31 changes: 31 additions & 0 deletions programming/react-native/api-reference/core/enum/measure-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: default-layout
title: EnumMeasureUnit - Dynamsoft Capture Vision React Native
description: Enumeration EnumMeasureUnit of Dynamsoft Capture Vision React Native Edition defines the unit of measurement for a value.
keywords: measure unit, pixel, percentage
needAutoGenerateSidebar: true
needGenerateH3Content: true
breadcrumbText: EnumMeasureUnit
---

# EnumMeasureUnit

`EnumMeasureUnit` specifies how a numeric value should be interpreted relative to a reference dimension.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
enum EnumMeasureUnit {
MU_PIXEL = 0,
MU_PERCENTAGE = 1
}
```

## Members

| Member | Description |
| ------ | ----------- |
| `MU_PIXEL` | The value is an absolute pixel count. |
| `MU_PERCENTAGE` | The value is a percentage of the reference dimension (e.g. 25 = 25%). |
18 changes: 18 additions & 0 deletions programming/react-native/api-reference/core/quadrilateral.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,21 @@ points: Point[];
**Remarks**

The coordinates are typically set in pixels. However, if you are setting a region via the [`SimplifiedCaptureVisionSettings`](../capture-vision-router/simplified-capture-vision-settings.md), you can set the coordinates of the Quadrilateral as percentages (of the frame dimensions) instead of pixels if `roiMeasuredInPercentage` is set to true.

## Methods

| Method | Description |
| ------ | ----------- |
| [`getCentrePoint`](#getcentrepoint) | Gets the centre point of the quadrilateral. |

### getCentrePoint

Gets the centre point of the quadrilateral.

```js
getCentrePoint(): Point
```

**Return Value**

The centre point of the quadrilateral.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
layout: default-layout
title: EnumLayoutElementSource - Dynamsoft Capture Vision React Native
description: Enumeration EnumLayoutElementSource of Dynamsoft Capture Vision React Native Edition defines the origin of a layout element.
keywords: layout element source
needAutoGenerateSidebar: true
needGenerateH3Content: true
breadcrumbText: EnumLayoutElementSource
---

# EnumLayoutElementSource

`EnumLayoutElementSource` describes the origin of a layout element.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
enum EnumLayoutElementSource {
LES_NONE = 0,
LES_INPUT = 1,
LES_INFERRED = 2
}
```

## Members

| Member | Description |
| ------ | ----------- |
| `LES_NONE` | No element exists at this logical grid position. |
| `LES_INPUT` | Element is provided from the original input array. |
| `LES_INFERRED` | Element is reconstructed or filled in by the algorithm. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
layout: default-layout
title: EnumLayoutPattern - Dynamsoft Capture Vision React Native
description: Enumeration EnumLayoutPattern of Dynamsoft Capture Vision React Native Edition defines the layout pattern for quadrilateral analysis.
keywords: layout pattern
needAutoGenerateSidebar: true
needGenerateH3Content: true
breadcrumbText: EnumLayoutPattern
---

# EnumLayoutPattern

`EnumLayoutPattern` describes the layout pattern for quadrilateral analysis.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
enum EnumLayoutPattern {
LP_UNKNOWN = 0,
LP_LINES = 1,
LP_MATRIX = 2
}
```

## Members

| Member | Description |
| ------ | ----------- |
| `LP_UNKNOWN` | Algorithm automatically detects the best layout pattern. |
| `LP_LINES` | Elements are organized into sequential lines (rows or columns). |
| `LP_MATRIX` | Elements are organized into a strict grid/matrix structure. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
layout: default-layout
title: LayoutAnalysisParameter - Dynamsoft Capture Vision React Native
description: Interface LayoutAnalysisParameter of DCV React Native provides parameters for layout analysis.
keywords: layout analysis parameter
needGenerateH3Content: true
needAutoGenerateSidebar: true
noTitleIndex: true
---

# LayoutAnalysisParameter

The `LayoutAnalysisParameter` interface provides parameters to constrain the layout analysis.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
interface LayoutAnalysisParameter
```

## Properties

| Property | Type | Description |
| --------- | ---- | ----------- |
| [`pattern`](#pattern) | *EnumLayoutPattern* | Desired layout pattern. Use LP_UNKNOWN for auto-detection. |
| [`axes`](#axes) | *LayoutAxis[]* | Configuration for primary axis [0] and secondary axis [1]. |
| [`inputImageWidth`](#inputimagewidth) | *number* | Width of the reference image. Required when spacingUnit is MU_PERCENTAGE. |
| [`inputImageHeight`](#inputimageheight) | *number* | Height of the reference image. Required when spacingUnit is MU_PERCENTAGE. |

### pattern

Desired layout pattern. Use LP_UNKNOWN for auto-detection.

```js
pattern: EnumLayoutPattern;
```

### axes

Configuration for primary axis [0] and secondary axis [1].

```js
axes: LayoutAxis[];
```

### inputImageWidth

Width of the reference image. Required when spacingUnit is MU_PERCENTAGE.

```js
inputImageWidth: number;
```

### inputImageHeight

Height of the reference image. Required when spacingUnit is MU_PERCENTAGE.

```js
inputImageHeight: number;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
layout: default-layout
title: LayoutAnalysisResult - Dynamsoft Capture Vision React Native
description: Interface LayoutAnalysisResult of DCV React Native represents the comprehensive results of the layout analysis.
keywords: layout analysis result
needGenerateH3Content: true
needAutoGenerateSidebar: true
noTitleIndex: true
---

# LayoutAnalysisResult

The `LayoutAnalysisResult` interface represents the comprehensive results of the layout analysis.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
interface LayoutAnalysisResult
```

## Properties

| Property | Type | Description |
| --------- | ---- | ----------- |
| [`inferredQuads`](#inferredquads) | *Quadrilateral[]* | Array of newly generated quadrilaterals. |
| [`elements`](#elements) | *LayoutElement[][]* | A 2D array of layout elements [rowCount][colCount]. |
| [`rowCount`](#rowcount) | *number* | Number of rows in the analyzed layout. |
| [`colCount`](#colcount) | *number* | Maximum number of columns across all rows. |
| [`detectedPattern`](#detectedpattern) | *EnumLayoutPattern* | The actual layout pattern identified by the engine. |
| [`errorCode`](#errorcode) | *number* | 0 for success, non-zero for error. |

### inferredQuads

Array of newly generated quadrilaterals.

```js
inferredQuads: Quadrilateral[];
```

### elements

A 2D array of layout elements [rowCount][colCount].

```js
elements: LayoutElement[][];
```

### rowCount

Number of rows in the analyzed layout.

```js
rowCount: number;
```

### colCount

Maximum number of columns across all rows.

```js
colCount: number;
```

### detectedPattern

The actual layout pattern identified by the engine.

```js
detectedPattern: EnumLayoutPattern;
```

### errorCode

0 for success, non-zero for error.

```js
errorCode: number;
```
48 changes: 48 additions & 0 deletions programming/react-native/api-reference/utility/layout-analyzer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
layout: default-layout
title: LayoutAnalyzer - Dynamsoft Capture Vision React Native
description: LayoutAnalyzer class of DCV React Native provides static methods to analyze the spatial distribution of quadrilaterals.
keywords: layout analyzer, quadrilateral
needGenerateH3Content: true
needAutoGenerateSidebar: true
noTitleIndex: true
---

# LayoutAnalyzer

The `LayoutAnalyzer` class provides static methods to analyze the spatial distribution of quadrilaterals.

## Definition

*Assembly:* dynamsoft-capture-vision-react-native

```js
class LayoutAnalyzer
```

## Methods

| Method | Description |
| ------ | ----------- |
| [`analyze`](#analyze) | Analyzes the spatial distribution of quadrilaterals. |

### analyze

Analyzes the spatial distribution of quadrilaterals with optional constraints.

```js
static analyze(
inputQuads: Quadrilateral[],
parameter?: LayoutAnalysisParameter
): LayoutAnalysisResult
```

**Parameters**

`[in] inputQuads`: Array of input quadrilaterals.

`[in] parameter`: Optional parameters to constrain the analysis.

**Return Value**

A [`LayoutAnalysisResult`](layout-analysis-result.md) object, or null on failure.
Loading